Aracılığıyla paylaş


RangeShardMap<TKey>.UpdateMapping Method

Definition

Overloads

UpdateMapping(RangeMapping<TKey>, RangeMappingUpdate)
UpdateMapping(RangeMapping<TKey>, RangeMappingUpdate, MappingLockToken)

UpdateMapping(RangeMapping<TKey>, RangeMappingUpdate)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> UpdateMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> currentMapping, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMappingUpdate update);
member this.UpdateMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key> * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMappingUpdate -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>
Public Function UpdateMapping (currentMapping As RangeMapping(Of TKey), update As RangeMappingUpdate) As RangeMapping(Of TKey)

Parameters

currentMapping
RangeMapping<TKey>

Returns

Applies to

UpdateMapping(RangeMapping<TKey>, RangeMappingUpdate, MappingLockToken)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> UpdateMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> currentMapping, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMappingUpdate update, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.MappingLockToken mappingLockToken);
member this.UpdateMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key> * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMappingUpdate * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.MappingLockToken -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>
Public Function UpdateMapping (currentMapping As RangeMapping(Of TKey), update As RangeMappingUpdate, mappingLockToken As MappingLockToken) As RangeMapping(Of TKey)

Parameters

currentMapping
RangeMapping<TKey>
mappingLockToken
MappingLockToken

Returns

Applies to