SqlDeployment.OnVerifyTargetConnection Method
Used to verify that we can connect to the master database with this connection string.
Namespace: Microsoft.Data.Schema.Sql.Build
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Overrides Sub OnVerifyTargetConnection ( _
connectionString As String _
)
'Usage
Dim connectionString As String
Me.OnVerifyTargetConnection(connectionString)
protected override void OnVerifyTargetConnection(
string connectionString
)
protected:
virtual void OnVerifyTargetConnection(
String^ connectionString
) override
protected override function OnVerifyTargetConnection(
connectionString : String
)
abstract OnVerifyTargetConnection :
connectionString:string -> unit
override OnVerifyTargetConnection :
connectionString:string -> unit
Parameters
- connectionString
Type: System.String
The connection string
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.