Partilhar via


Shard.OpenConnection Método

Definição

Sobrecargas

OpenConnection(String)
OpenConnection(String, ConnectionOptions)
OpenConnection(String, SqlCredential)
OpenConnection(String, SqlCredential, ConnectionOptions)

OpenConnection(String)

public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString);
member this.OpenConnection : string -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String) As SqlConnection

Parâmetros

connectionString
String

Retornos

Aplica-se a

OpenConnection(String, ConnectionOptions)

public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnection : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String, options As ConnectionOptions) As SqlConnection

Parâmetros

connectionString
String

Retornos

Aplica-se a

OpenConnection(String, SqlCredential)

public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString, System.Data.SqlClient.SqlCredential secureCredential);
member this.OpenConnection : string * System.Data.SqlClient.SqlCredential -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String, secureCredential As SqlCredential) As SqlConnection

Parâmetros

connectionString
String
secureCredential
SqlCredential

Retornos

Aplica-se a

OpenConnection(String, SqlCredential, ConnectionOptions)

public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnection : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String, secureCredential As SqlCredential, options As ConnectionOptions) As SqlConnection

Parâmetros

connectionString
String
secureCredential
SqlCredential

Retornos

Aplica-se a