你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShardMapManagerFactory.CreateSqlShardMapManager 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- createMode
- ShardMapManagerCreateMode
返回
适用于
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
- createMode
- ShardMapManagerCreateMode
- 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
- createMode
- ShardMapManagerCreateMode
- 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
- createMode
- ShardMapManagerCreateMode
返回
适用于
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