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.
    See Also