RangeShardMap<TKey>.OpenConnectionForKey Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
OpenConnectionForKey(TKey, String)
public System.Data.SqlClient.SqlConnection OpenConnectionForKey (TKey key, string connectionString);
override this.OpenConnectionForKey : 'Key * string -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey (key As TKey, connectionString As String) As SqlConnection
Paramètres
- key
- TKey
- connectionString
- String
Retours
S’applique à
OpenConnectionForKey(TKey, String, ConnectionOptions)
public System.Data.SqlClient.SqlConnection OpenConnectionForKey (TKey key, string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
override this.OpenConnectionForKey : 'Key * string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey (key As TKey, connectionString As String, options As ConnectionOptions) As SqlConnection
Paramètres
- key
- TKey
- connectionString
- String
- options
- ConnectionOptions
Retours
S’applique à
OpenConnectionForKey(TKey, String, SqlCredential)
public System.Data.SqlClient.SqlConnection OpenConnectionForKey (TKey key, string connectionString, System.Data.SqlClient.SqlCredential secureCredential);
override this.OpenConnectionForKey : 'Key * string * System.Data.SqlClient.SqlCredential -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey (key As TKey, connectionString As String, secureCredential As SqlCredential) As SqlConnection
Paramètres
- key
- TKey
- connectionString
- String
- secureCredential
- SqlCredential
Retours
S’applique à
OpenConnectionForKey(TKey, String, SqlCredential, ConnectionOptions)
public System.Data.SqlClient.SqlConnection OpenConnectionForKey (TKey key, string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
override this.OpenConnectionForKey : 'Key * string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnectionForKey (key As TKey, connectionString As String, secureCredential As SqlCredential, options As ConnectionOptions) As SqlConnection
Paramètres
- key
- TKey
- connectionString
- String
- secureCredential
- SqlCredential
- options
- ConnectionOptions
Retours
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET