Sdílet prostřednictvím


ShardMapManagerFactory.TryGetSqlShardMapManager Method

Definition

Overloads

TryGetSqlShardMapManager(String, SqlCredential, ShardMapManagerLoadPolicy, ShardMapManager)
TryGetSqlShardMapManager(String, ShardMapManagerLoadPolicy, ShardMapManager)
TryGetSqlShardMapManager(String, ShardMapManagerLoadPolicy, RetryBehavior, ShardMapManager)
TryGetSqlShardMapManager(String, SqlCredential, ShardMapManagerLoadPolicy, RetryBehavior, ShardMapManager)

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
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
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
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
retryBehavior
RetryBehavior
shardMapManager
ShardMapManager

Returns

Applies to