dotConnect for DB2 Documentation
Devart.Common Namespace / DbConnectionStringBuilder Class / InitializationCommand Property

On this page
    InitializationCommand Property
    On this page
    Specifies a data source-specific command that should be executed immediately after establishing the connection.
    Syntax
    'Declaration
     
    Public Property InitializationCommand As String
    public string InitializationCommand {get; set;}

    Property Value

    A data source-specific command that should be executed immediately after establishing the connection.
    Remarks
    If this command fails, the connection is not established. Devart.Data.DB2.DB2Connection throws an exception with the error returned by DB2.
    See Also