menu

Document Processing

Interface IConnections - FileFormats API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IConnections

    Represent the connection collection.

    Inherited Members
    IParentApplication.Application
    IParentApplication.Parent
    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
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved