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

ListShardMap<TKey>.UpdateMapping 方法

定义

重载

UpdateMapping(PointMapping<TKey>, PointMappingUpdate)
UpdateMapping(PointMapping<TKey>, PointMappingUpdate, MappingLockToken)

UpdateMapping(PointMapping<TKey>, PointMappingUpdate)

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

参数

currentMapping
PointMapping<TKey>

返回

适用于

UpdateMapping(PointMapping<TKey>, PointMappingUpdate, MappingLockToken)

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

参数

currentMapping
PointMapping<TKey>
mappingLockToken
MappingLockToken

返回

适用于