你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RangeShardMap<TKey>.UpdateMapping Method

Definition

Overloads

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