次の方法で共有


ListShardMap<TKey>.OpenConnectionForKey メソッド

定義

オーバーロード

OpenConnectionForKey(TKey, String)
OpenConnectionForKey(TKey, String, ConnectionOptions)
OpenConnectionForKey(TKey, String, SqlCredential)
OpenConnectionForKey(TKey, String, SqlCredential, ConnectionOptions)

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

パラメーター

key
TKey
connectionString
String

戻り値

適用対象

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

パラメーター

key
TKey
connectionString
String

戻り値

適用対象

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

パラメーター

key
TKey
connectionString
String
secureCredential
SqlCredential

戻り値

適用対象

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

パラメーター

key
TKey
connectionString
String
secureCredential
SqlCredential

戻り値

適用対象