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

InitializationCommand Property
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.Dynamics.DynamicsConnection throws an exception with the error returned by Dynamics 365.
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