RangeShardMap<TKey>.SplitMapping Method

Definition

Overloads

SplitMapping(RangeMapping<TKey>, TKey)
SplitMapping(RangeMapping<TKey>, TKey, MappingLockToken)

SplitMapping(RangeMapping<TKey>, TKey)

public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey>> SplitMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> existingMapping, TKey splitAt);
member this.SplitMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key> * 'Key -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>>
Public Function SplitMapping (existingMapping As RangeMapping(Of TKey), splitAt As TKey) As IReadOnlyList(Of RangeMapping(Of TKey))

Parameters

existingMapping
RangeMapping<TKey>
splitAt
TKey

Returns

Applies to

SplitMapping(RangeMapping<TKey>, TKey, MappingLockToken)

public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey>> SplitMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> existingMapping, TKey splitAt, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.MappingLockToken mappingLockToken);
member this.SplitMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key> * 'Key * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.MappingLockToken -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>>
Public Function SplitMapping (existingMapping As RangeMapping(Of TKey), splitAt As TKey, mappingLockToken As MappingLockToken) As IReadOnlyList(Of RangeMapping(Of TKey))

Parameters

existingMapping
RangeMapping<TKey>
splitAt
TKey
mappingLockToken
MappingLockToken

Returns

Applies to