Interface IConnections
Represent the connection collection.
Inherited Members
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.Add(Syncfusion.XlsIO.IConnection)
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.Clear()
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.Contains(Syncfusion.XlsIO.IConnection)
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.CopyTo(Syncfusion.XlsIO.IConnection[], System.Int32)
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.Remove(Syncfusion.XlsIO.IConnection)
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.Count
System.Collections.Generic.ICollection<Syncfusion.XlsIO.IConnection>.IsReadOnly
System.Collections.Generic.IEnumerable<Syncfusion.XlsIO.IConnection>.GetEnumerator()
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.Base.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 | Description |
---|---|
IConnection |
Methods
Add(String, String, Object, Object, ExcelCommandType)
Add the connection to the workbook
Declaration
IConnection Add(string ConnectionName, string Description, object ConnectionSting, object CommandText, ExcelCommandType CommandType)
Parameters
Type | Name | Description |
---|---|---|
System.String | ConnectionName | Connection Name |
System.String | Description | Connection Description |
System.Object | ConnectionSting | Connection String |
System.Object | CommandText | Command Text |
ExcelCommandType | CommandType | Command Type |
Returns
Type | Description |
---|---|
IConnection | Connection object for these parameters |