dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / Collection Property

In This Topic
    Collection Property
    In This Topic
    Gets or sets the collection name, where collection name is the qualifier of the package name (collection.rootPkgName), to be used by pureQuery when executionMode is set to static.
    Syntax
    'Declaration
     
    Public Shadows Property Collection As String
    public new string Collection {get; set;}

    Property Value

    The collection name, which is the qualifier of the package name (collection.rootPkgName).
    Remarks
    If a Collection is specified and RootPkgName is not set, an invalid attribute exception will be thrown when attempting to open a connection.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also