azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.elastic...

286 строки
29 KiB
YAML

### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String connectionString)
name: createSqlShardMapManager(String connectionString)
nameWithType: ShardMapManagerFactory.createSqlShardMapManager(String connectionString)
parameters:
- description: <p>Connection parameters used for creating shard map manager database. </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> and its corresponding storage structures in the specified SQL Server database, with <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode.KeepExisting" data-throw-if-not-resolved="false" data-raw-source="ShardMapManagerCreateMode.KeepExisting"></xref> and RetryBehavior.DefaultRetryBehavior.</p>
<p></p>
syntax: public static ShardMapManager createSqlShardMapManager(String connectionString)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)
name: createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)
nameWithType: ShardMapManagerFactory.createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)
parameters:
- description: <p>Connection parameters used for creating shard map manager database. </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> and its corresponding storage structures in the specified SQL Server database, with <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode.KeepExisting" data-throw-if-not-resolved="false" data-raw-source="ShardMapManagerCreateMode.KeepExisting"></xref>.</p>
<p></p>
syntax: public static ShardMapManager createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String,RetryBehavior)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)
name: createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)
nameWithType: ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)
parameters:
- description: <p>Connection parameters used for creating shard map manager database. </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Describes the option selected by the user for creating shard map manager database. </p>
name: createMode
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode&text=ShardMapManagerCreateMode" data-throw-if-not-resolved="False"/>
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> and its corresponding storage structures in the specified SQL Server database, with RetryBehavior.DefaultRetryBehavior.</p>
<p></p>
syntax: public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String,ShardMapManagerCreateMode)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)
name: createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)
nameWithType: ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)
parameters:
- description: <p>Connection parameters used for creating shard map manager database. </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Describes the option selected by the user for creating shard map manager database. </p>
name: createMode
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode&text=ShardMapManagerCreateMode" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> and its corresponding storage structures in the specified SQL Server database.</p>
<p></p>
syntax: public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String,ShardMapManagerCreateMode,RetryBehavior)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
name: createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
nameWithType: ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
parameters:
- description: <p>Connection parameters used for creating shard map manager database. </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Describes the option selected by the user for creating shard map manager database. </p>
name: createMode
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode&text=ShardMapManagerCreateMode" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
- description: <p>Event handler for store operation retry events. </p>
name: retryEventHandler
type: EventHandler&lt;<xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs&text=RetryingEventArgs" data-throw-if-not-resolved="False"/>&gt;
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> and its corresponding storage structures in the specified SQL Server database.</p>
<p></p>
syntax: public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String,ShardMapManagerCreateMode,RetryBehavior,EventHandler<RetryingEventArgs>)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)
name: createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)
nameWithType: ShardMapManagerFactory.createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)
parameters:
- description: <p>Connection parameters used for creating shard map manager database. </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Describes the option selected by the user for creating shard map manager database. </p>
name: createMode
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerCreateMode&text=ShardMapManagerCreateMode" data-throw-if-not-resolved="False"/>
- description: <p>Target version of store to create. </p>
name: targetVersion
type: <xref href="com.microsoft.azure.elasticdb.shard.store.Version?alt=com.microsoft.azure.elasticdb.shard.store.Version&text=Version" data-throw-if-not-resolved="False"/>
returns:
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates a <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> and its corresponding storage structures in the specified SQL Server database, with <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultRetryPolicy()" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy.getDefaultRetryPolicy()"></xref>.</p>
<p></p>
syntax: public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.createSqlShardMapManager(String,ShardMapManagerCreateMode,Version)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)
name: getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)
nameWithType: ShardMapManagerFactory.getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)
parameters:
- description: <p>Connection parameters used for performing operations against shard map manager database(s). </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Initialization policy. </p>
name: loadPolicy
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy&text=ShardMapManagerLoadPolicy" data-throw-if-not-resolved="False"/>
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> from persisted state in a SQL Server database, with RetryBehavior.DefaultRetryBehavior.</p>
<p></p>
syntax: public static ShardMapManager getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.getSqlShardMapManager(String,ShardMapManagerLoadPolicy)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)
name: getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)
nameWithType: ShardMapManagerFactory.getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)
parameters:
- description: <p>Connection parameters used for performing operations against shard map manager database(s). </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Initialization policy. </p>
name: loadPolicy
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy&text=ShardMapManagerLoadPolicy" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> from persisted state in a SQL Server database.</p>
<p></p>
syntax: public static ShardMapManager getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.getSqlShardMapManager(String,ShardMapManagerLoadPolicy,RetryBehavior)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
name: getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
nameWithType: ShardMapManagerFactory.getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
parameters:
- description: <p>Connection parameters used for performing operations against shard map manager database(s). </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Initialization policy. </p>
name: loadPolicy
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy&text=ShardMapManagerLoadPolicy" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
- description: <p>Event handler for store operation retry events. </p>
name: retryEventHandler
type: EventHandler&lt;<xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs&text=RetryingEventArgs" data-throw-if-not-resolved="False"/>&gt;
returns:
description: <p>A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings. </p>
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> from persisted state in a SQL Server database.</p>
<p></p>
syntax: public static ShardMapManager getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.getSqlShardMapManager(String,ShardMapManagerLoadPolicy,RetryBehavior,EventHandler<RetryingEventArgs>)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, ReferenceObjectHelper<ShardMapManager> shardMapManager)
name: tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, ReferenceObjectHelper<ShardMapManager> shardMapManager)
nameWithType: ShardMapManagerFactory.tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, ReferenceObjectHelper<ShardMapManager> shardMapManager)
parameters:
- description: <p>Connection parameters used for performing operations against shard map manager database(s). </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Initialization policy. </p>
name: loadPolicy
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy&text=ShardMapManagerLoadPolicy" data-throw-if-not-resolved="False"/>
- description: <p>Shard map manager object used for performing management and read operations for shard maps, shards and shard mappings or <code>null</code> in case shard map manager does not exist. </p>
name: shardMapManager
type: ReferenceObjectHelper&lt;<xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>&gt;
returns:
description: >-
<p>
<code>true</code> if a shard map manager object was created, <code>false</code> otherwise. </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> from persisted state in a SQL Server database.</p>
<p></p>
syntax: public static boolean tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, ReferenceObjectHelper<ShardMapManager> shardMapManager)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.tryGetSqlShardMapManager(String,ShardMapManagerLoadPolicy,ReferenceObjectHelper<ShardMapManager>)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler, ReferenceObjectHelper<ShardMapManager> shardMapManager)
name: tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler, ReferenceObjectHelper<ShardMapManager> shardMapManager)
nameWithType: ShardMapManagerFactory.tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler, ReferenceObjectHelper<ShardMapManager> shardMapManager)
parameters:
- description: <p>Connection parameters used for performing operations against shard map manager database(s). </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Initialization policy. </p>
name: loadPolicy
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy&text=ShardMapManagerLoadPolicy" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
- description: <p>Event handler for store operation retry events. </p>
name: retryEventHandler
type: EventHandler&lt;<xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs&text=RetryingEventArgs" data-throw-if-not-resolved="False"/>&gt;
- description: <p>Shard map manager object used for performing management and read operations for shard maps, shards and shard mappings or <code>null</code> in case shard map manager does not exist. </p>
name: shardMapManager
type: ReferenceObjectHelper&lt;<xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>&gt;
returns:
description: >-
<p>
<code>true</code> if a shard map manager object was created, <code>false</code> otherwise. </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> from persisted state in a SQL Server database.</p>
<p></p>
syntax: public static boolean tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler, ReferenceObjectHelper<ShardMapManager> shardMapManager)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.tryGetSqlShardMapManager(String,ShardMapManagerLoadPolicy,RetryBehavior,EventHandler<RetryingEventArgs>,ReferenceObjectHelper<ShardMapManager>)
- fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, ReferenceObjectHelper<ShardMapManager> shardMapManager)
name: tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, ReferenceObjectHelper<ShardMapManager> shardMapManager)
nameWithType: ShardMapManagerFactory.tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, ReferenceObjectHelper<ShardMapManager> shardMapManager)
parameters:
- description: <p>Connection parameters used for performing operations against shard map manager database(s). </p>
name: connectionString
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Initialization policy. </p>
name: loadPolicy
type: <xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy&text=ShardMapManagerLoadPolicy" data-throw-if-not-resolved="False"/>
- description: <p>Behavior for detecting transient exceptions in the store. </p>
name: retryBehavior
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryBehavior&text=RetryBehavior" data-throw-if-not-resolved="False"/>
- description: <p>Shard map manager object used for performing management and read operations for shard maps, shards and shard mappings or <code>null</code> in case shard map manager does not exist. </p>
name: shardMapManager
type: ReferenceObjectHelper&lt;<xref href="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager?alt=com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager&text=ShardMapManager" data-throw-if-not-resolved="False"/>&gt;
returns:
description: >-
<p>
<code>true</code> if a shard map manager object was created, <code>false</code> otherwise. </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref> from persisted state in a SQL Server database.</p>
<p></p>
syntax: public static boolean tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, ReferenceObjectHelper<ShardMapManager> shardMapManager)
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory.tryGetSqlShardMapManager(String,ShardMapManagerLoadPolicy,RetryBehavior,ReferenceObjectHelper<ShardMapManager>)
nameWithType: ShardMapManagerFactory
syntax: public class ShardMapManagerFactory
type: class
uid: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory
fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerFactory
name: ShardMapManagerFactory
package: com.microsoft.azure.elasticdb.shard.mapmanager
summary: <p>Factory for <xref uid="com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager" data-throw-if-not-resolved="false" data-raw-source="ShardMapManager"></xref>s facilitates the creation and management of shard map manager persistent state. Use this class as the entry point to the library's object hierarchy. </p>
metadata: {}