你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ShardMapManagerFactory.CreateSqlShardMapManager 方法

定义

重载

CreateSqlShardMapManager(String, SqlCredential, ShardMapManagerCreateMode)
CreateSqlShardMapManager(String, SqlCredential, RetryBehavior)
CreateSqlShardMapManager(String, ShardMapManagerCreateMode, RetryBehavior)
CreateSqlShardMapManager(String, SqlCredential, ShardMapManagerCreateMode, RetryBehavior)
CreateSqlShardMapManager(String, ShardMapManagerCreateMode)
CreateSqlShardMapManager(String, RetryBehavior)
CreateSqlShardMapManager(String)
CreateSqlShardMapManager(String, SqlCredential)

CreateSqlShardMapManager(String, SqlCredential, ShardMapManagerCreateMode)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode createMode);
static member CreateSqlShardMapManager : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, secureCredential As SqlCredential, createMode As ShardMapManagerCreateMode) As ShardMapManager

参数

connectionString
String
secureCredential
SqlCredential

返回

适用于

CreateSqlShardMapManager(String, SqlCredential, RetryBehavior)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior retryBehavior);
static member CreateSqlShardMapManager : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, secureCredential As SqlCredential, retryBehavior As RetryBehavior) As ShardMapManager

参数

connectionString
String
secureCredential
SqlCredential
retryBehavior
RetryBehavior

返回

适用于

CreateSqlShardMapManager(String, ShardMapManagerCreateMode, RetryBehavior)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode createMode, Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior retryBehavior);
static member CreateSqlShardMapManager : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode * Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, createMode As ShardMapManagerCreateMode, retryBehavior As RetryBehavior) As ShardMapManager

参数

connectionString
String
retryBehavior
RetryBehavior

返回

适用于

CreateSqlShardMapManager(String, SqlCredential, ShardMapManagerCreateMode, RetryBehavior)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode createMode, Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior retryBehavior);
static member CreateSqlShardMapManager : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode * Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, secureCredential As SqlCredential, createMode As ShardMapManagerCreateMode, retryBehavior As RetryBehavior) As ShardMapManager

参数

connectionString
String
secureCredential
SqlCredential
retryBehavior
RetryBehavior

返回

适用于

CreateSqlShardMapManager(String, ShardMapManagerCreateMode)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode createMode);
static member CreateSqlShardMapManager : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerCreateMode -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, createMode As ShardMapManagerCreateMode) As ShardMapManager

参数

connectionString
String

返回

适用于

CreateSqlShardMapManager(String, RetryBehavior)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior retryBehavior);
static member CreateSqlShardMapManager : string * Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, retryBehavior As RetryBehavior) As ShardMapManager

参数

connectionString
String
retryBehavior
RetryBehavior

返回

适用于

CreateSqlShardMapManager(String)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString);
static member CreateSqlShardMapManager : string -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String) As ShardMapManager

参数

connectionString
String

返回

适用于

CreateSqlShardMapManager(String, SqlCredential)

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager CreateSqlShardMapManager (string connectionString, System.Data.SqlClient.SqlCredential secureCredential);
static member CreateSqlShardMapManager : string * System.Data.SqlClient.SqlCredential -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager
Public Shared Function CreateSqlShardMapManager (connectionString As String, secureCredential As SqlCredential) As ShardMapManager

参数

connectionString
String
secureCredential
SqlCredential

返回

适用于