Interface IConnections
Represent the connection collection.
Inherited Members
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public interface IConnections : IParentApplication, ICollection<IConnection>, IEnumerable<IConnection>, IEnumerable
Properties
this[int]
returns the connection
Declaration
IConnection this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type |
|---|
| IConnection |
Methods
Add(string, string, object, object, ExcelCommandType)
Add the connection to the workbook
Declaration
IConnection Add(string ConnectionName, string Description, object ConnectionString, object CommandText, ExcelCommandType CommandType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ConnectionName | Connection Name |
| string | Description | Connection Description |
| object | ConnectionString | Connection String |
| object | CommandText | Command Text |
| ExcelCommandType | CommandType | Command Type |
Returns
| Type | Description |
|---|---|
| IConnection | Connection object for these parameters |