Compartir a través de


ShardMap.OpenConnectionForKey Método

Definición

Sobrecargas

OpenConnectionForKey<TKey>(TKey, String, SqlCredential, ConnectionOptions)
OpenConnectionForKey<TKey>(TKey, String, SqlCredential)
OpenConnectionForKey<TKey>(TKey, String)
OpenConnectionForKey<TKey>(TKey, String, ConnectionOptions)

OpenConnectionForKey<TKey>(TKey, String, SqlCredential, ConnectionOptions)

public System.Data.SqlClient.SqlConnection OpenConnectionForKey<TKey> (TKey key, string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnectionForKey : 'Key * string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey(Of TKey) (key As TKey, connectionString As String, secureCredential As SqlCredential, options As ConnectionOptions) As SqlConnection

Parámetros de tipo

TKey

Parámetros

key
TKey
connectionString
String
secureCredential
SqlCredential

Devoluciones

Se aplica a

OpenConnectionForKey<TKey>(TKey, String, SqlCredential)

public System.Data.SqlClient.SqlConnection OpenConnectionForKey<TKey> (TKey key, string connectionString, System.Data.SqlClient.SqlCredential secureCredential);
member this.OpenConnectionForKey : 'Key * string * System.Data.SqlClient.SqlCredential -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey(Of TKey) (key As TKey, connectionString As String, secureCredential As SqlCredential) As SqlConnection

Parámetros de tipo

TKey

Parámetros

key
TKey
connectionString
String
secureCredential
SqlCredential

Devoluciones

Se aplica a

OpenConnectionForKey<TKey>(TKey, String)

public System.Data.SqlClient.SqlConnection OpenConnectionForKey<TKey> (TKey key, string connectionString);
member this.OpenConnectionForKey : 'Key * string -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey(Of TKey) (key As TKey, connectionString As String) As SqlConnection

Parámetros de tipo

TKey

Parámetros

key
TKey
connectionString
String

Devoluciones

Se aplica a

OpenConnectionForKey<TKey>(TKey, String, ConnectionOptions)

public System.Data.SqlClient.SqlConnection OpenConnectionForKey<TKey> (TKey key, string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnectionForKey : 'Key * string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey(Of TKey) (key As TKey, connectionString As String, options As ConnectionOptions) As SqlConnection

Parámetros de tipo

TKey

Parámetros

key
TKey
connectionString
String

Devoluciones

Se aplica a