Compartir a través de


ListShardMap<TKey>.OpenConnectionForKeyAsync Método

Definición

Sobrecargas

OpenConnectionForKeyAsync(TKey, String)
OpenConnectionForKeyAsync(TKey, String, ConnectionOptions)
OpenConnectionForKeyAsync(TKey, String, SqlCredential)
OpenConnectionForKeyAsync(TKey, String, SqlCredential, ConnectionOptions)

OpenConnectionForKeyAsync(TKey, String)

public System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection> OpenConnectionForKeyAsync (TKey key, string connectionString);
override this.OpenConnectionForKeyAsync : 'Key * string -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
Public Function OpenConnectionForKeyAsync (key As TKey, connectionString As String) As Task(Of SqlConnection)

Parámetros

key
TKey
connectionString
String

Devoluciones

Se aplica a

OpenConnectionForKeyAsync(TKey, String, ConnectionOptions)

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

Parámetros

key
TKey
connectionString
String

Devoluciones

Se aplica a

OpenConnectionForKeyAsync(TKey, String, SqlCredential)

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

Parámetros

key
TKey
connectionString
String
secureCredential
SqlCredential

Devoluciones

Se aplica a

OpenConnectionForKeyAsync(TKey, String, SqlCredential, ConnectionOptions)

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

Parámetros

key
TKey
connectionString
String
secureCredential
SqlCredential

Devoluciones

Se aplica a