Specifies a data source-specific command that should be executed immediately after first establishing the connection. Unlike
InitializationCommand, this command is not executed when a connection is taken from the pool.
'Declaration
Public Property RunOnceCommand As String
public string RunOnceCommand {get; set;}
Property Value
A data source-specific command that should be executed immediately after establishing the connection.
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