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

In This Topic
InitializationCommand Property
In This Topic
Specifies a data source-specific command that should be executed immediately after establishing the connection.
Syntax
'Declaration
 
Public Property InitializationCommand As String
 

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.Oracle.OracleConnection throws an exception with the error returned by Oracle. You can specify a sequense of several commands in this parameter.
See Also