ShardMap.OpenConnectionForKey Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
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
- options
- ConnectionOptions
Retornos
Aplica-se 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
Retornos
Aplica-se 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
Retornos
Aplica-se 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
- options
- ConnectionOptions
Retornos
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET