Interface IConnections
Represent the connection collection.
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
public interface IConnections : IParentApplication, ICollection<IConnection>, IEnumerable<IConnection>, IEnumerable
Properties
Item[Int32]
returns the connection
Declaration
IConnection this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | 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 |
---|---|---|
System.String | ConnectionName | Connection Name |
System.String | Description | Connection Description |
System.Object | ConnectionString | Connection String |
System.Object | CommandText | Command Text |
ExcelCommandType | CommandType | Command Type |
Returns
Type | Description |
---|---|
IConnection | Connection object for these parameters |