ShardMapManagerFactory.TryGetSqlShardMapManager 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
TryGetSqlShardMapManager(String, SqlCredential, ShardMapManagerLoadPolicy, ShardMapManager)
public static bool TryGetSqlShardMapManager (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy loadPolicy, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager shardMapManager);
static member TryGetSqlShardMapManager : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy * ShardMapManager -> bool
Public Shared Function TryGetSqlShardMapManager (connectionString As String, secureCredential As SqlCredential, loadPolicy As ShardMapManagerLoadPolicy, ByRef shardMapManager As ShardMapManager) As Boolean
Parameters
- connectionString
- String
- secureCredential
- SqlCredential
- loadPolicy
- ShardMapManagerLoadPolicy
- shardMapManager
- ShardMapManager
Returns
Applies to
TryGetSqlShardMapManager(String, ShardMapManagerLoadPolicy, ShardMapManager)
public static bool TryGetSqlShardMapManager (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy loadPolicy, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager shardMapManager);
static member TryGetSqlShardMapManager : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy * ShardMapManager -> bool
Public Shared Function TryGetSqlShardMapManager (connectionString As String, loadPolicy As ShardMapManagerLoadPolicy, ByRef shardMapManager As ShardMapManager) As Boolean
Parameters
- connectionString
- String
- loadPolicy
- ShardMapManagerLoadPolicy
- shardMapManager
- ShardMapManager
Returns
Applies to
TryGetSqlShardMapManager(String, ShardMapManagerLoadPolicy, RetryBehavior, ShardMapManager)
public static bool TryGetSqlShardMapManager (string connectionString, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy loadPolicy, Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior retryBehavior, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager shardMapManager);
static member TryGetSqlShardMapManager : string * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy * Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior * ShardMapManager -> bool
Public Shared Function TryGetSqlShardMapManager (connectionString As String, loadPolicy As ShardMapManagerLoadPolicy, retryBehavior As RetryBehavior, ByRef shardMapManager As ShardMapManager) As Boolean
Parameters
- connectionString
- String
- loadPolicy
- ShardMapManagerLoadPolicy
- retryBehavior
- RetryBehavior
- shardMapManager
- ShardMapManager
Returns
Applies to
TryGetSqlShardMapManager(String, SqlCredential, ShardMapManagerLoadPolicy, RetryBehavior, ShardMapManager)
public static bool TryGetSqlShardMapManager (string connectionString, System.Data.SqlClient.SqlCredential secureCredential, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy loadPolicy, Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior retryBehavior, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManager shardMapManager);
static member TryGetSqlShardMapManager : string * System.Data.SqlClient.SqlCredential * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMapManagerLoadPolicy * Microsoft.Azure.SqlDatabase.ElasticScale.RetryBehavior * ShardMapManager -> bool
Public Shared Function TryGetSqlShardMapManager (connectionString As String, secureCredential As SqlCredential, loadPolicy As ShardMapManagerLoadPolicy, retryBehavior As RetryBehavior, ByRef shardMapManager As ShardMapManager) As Boolean
Parameters
- connectionString
- String
- secureCredential
- SqlCredential
- loadPolicy
- ShardMapManagerLoadPolicy
- retryBehavior
- RetryBehavior
- shardMapManager
- ShardMapManager