Share via


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

.NET Framework Security

See Also

Reference

SqlDeployment Class

SqlDeployment Members

Microsoft.Data.Schema.Sql.Build Namespace