Shard.OpenConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenConnection(String) | |
OpenConnection(String, ConnectionOptions) | |
OpenConnection(String, SqlCredential) | |
OpenConnection(String, SqlCredential, ConnectionOptions) |
OpenConnection(String)
public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString);
member this.OpenConnection : string -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String) As SqlConnection
Parameters
- connectionString
- String
Returns
Applies to
OpenConnection(String, ConnectionOptions)
public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnection : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String, options As ConnectionOptions) As SqlConnection
Parameters
- connectionString
- String
- options
- ConnectionOptions
Returns
Applies to
OpenConnection(String, SqlCredential)
public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString, System.Data.SqlClient.SqlCredential secureCredential);
member this.OpenConnection : string * System.Data.SqlClient.SqlCredential -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String, secureCredential As SqlCredential) As SqlConnection
Parameters
- connectionString
- String
- secureCredential
- SqlCredential
Returns
Applies to
OpenConnection(String, SqlCredential, ConnectionOptions)
public System.Data.SqlClient.SqlConnection OpenConnection (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions options);
member this.OpenConnection : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ConnectionOptions -> System.Data.SqlClient.SqlConnection
Public Function OpenConnection (connectionString As String, secureCredential As SqlCredential, options As ConnectionOptions) As SqlConnection
Parameters
- connectionString
- String
- secureCredential
- SqlCredential
- options
- ConnectionOptions
Returns
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin