Share via


SchemaCompareDatabaseEndpoint Constructors

Definition

Overloads

SchemaCompareDatabaseEndpoint(String)

Constructs a schema compare endpoint that refers to a database

SchemaCompareDatabaseEndpoint(String, IUniversalAuthProvider)

Constructs a schema compare endpoint that refers to a database

SchemaCompareDatabaseEndpoint(String, SecureString)

Constructs a schema compare endpoint that refers to a database

SchemaCompareDatabaseEndpoint(String)

Constructs a schema compare endpoint that refers to a database

public SchemaCompareDatabaseEndpoint (string connectionString);
new Microsoft.SqlServer.Dac.Compare.SchemaCompareDatabaseEndpoint : string -> Microsoft.SqlServer.Dac.Compare.SchemaCompareDatabaseEndpoint
Public Sub New (connectionString As String)

Parameters

connectionString
String

A connection string to a database instance

Exceptions

The supplied connection string is null.

Invalid value within the connection string (for example, when a Boolean or numeric value was expected but not supplied).

The supplied connectionString is not valid.

Applies to

SchemaCompareDatabaseEndpoint(String, IUniversalAuthProvider)

Constructs a schema compare endpoint that refers to a database

public SchemaCompareDatabaseEndpoint (string connectionString, Microsoft.SqlServer.Dac.IUniversalAuthProvider authProvider);
new Microsoft.SqlServer.Dac.Compare.SchemaCompareDatabaseEndpoint : string * Microsoft.SqlServer.Dac.IUniversalAuthProvider -> Microsoft.SqlServer.Dac.Compare.SchemaCompareDatabaseEndpoint
Public Sub New (connectionString As String, authProvider As IUniversalAuthProvider)

Parameters

connectionString
String

A connection string to a database instance

authProvider
IUniversalAuthProvider

Provide the up-to-date access token for AAD Universal Login (smartcard, phone, etc)

Exceptions

The supplied connection string or auth provider is null.

Invalid value within the connection string (for example, when a Boolean or numeric value was expected but not supplied).

The supplied connectionString is not valid.

Applies to

SchemaCompareDatabaseEndpoint(String, SecureString)

Constructs a schema compare endpoint that refers to a database

public SchemaCompareDatabaseEndpoint (string connectionString, System.Security.SecureString password);
new Microsoft.SqlServer.Dac.Compare.SchemaCompareDatabaseEndpoint : string * System.Security.SecureString -> Microsoft.SqlServer.Dac.Compare.SchemaCompareDatabaseEndpoint
Public Sub New (connectionString As String, password As SecureString)

Parameters

connectionString
String

A connection string to a database instance

password
SecureString

SecureString that supplies the password for the database connection used by this instance.

Exceptions

The supplied connection string or password is null.

Invalid value within the connection string (for example, when a Boolean or numeric value was expected but not supplied).

The supplied connectionString is not valid.

Applies to