Shard.OpenConnectionAsync 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
OpenConnectionAsync(String) | |
OpenConnectionAsync(String, ConnectionOptions) | |
OpenConnectionAsync(String, SqlCredential) | |
OpenConnectionAsync(String, SqlCredential, ConnectionOptions) |
OpenConnectionAsync(String)
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection> OpenConnectionAsync (string connectionString);
member this.OpenConnectionAsync : string -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
Public Function OpenConnectionAsync (connectionString As String) As Task(Of SqlConnection)
Parâmetros
- connectionString
- String
Retornos
Aplica-se a
OpenConnectionAsync(String, ConnectionOptions)
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection> OpenConnectionAsync (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnectionAsync : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
Public Function OpenConnectionAsync (connectionString As String, options As ConnectionOptions) As Task(Of SqlConnection)
Parâmetros
- connectionString
- String
- options
- ConnectionOptions
Retornos
Aplica-se a
OpenConnectionAsync(String, SqlCredential)
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection> OpenConnectionAsync (string connectionString, System.Data.SqlClient.SqlCredential secureCredential);
member this.OpenConnectionAsync : string * System.Data.SqlClient.SqlCredential -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
Public Function OpenConnectionAsync (connectionString As String, secureCredential As SqlCredential) As Task(Of SqlConnection)
Parâmetros
- connectionString
- String
- secureCredential
- SqlCredential
Retornos
Aplica-se a
OpenConnectionAsync(String, SqlCredential, ConnectionOptions)
public System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection> OpenConnectionAsync (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnectionAsync : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
Public Function OpenConnectionAsync (connectionString As String, secureCredential As SqlCredential, options As ConnectionOptions) As Task(Of SqlConnection)
Parâmetros
- connectionString
- String
- secureCredential
- SqlCredential
- options
- ConnectionOptions
Retornos
Aplica-se a
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET