Share via


ListShardMap<TKey>.UpdateMapping Method

Definition

Overloads

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)

Parameters

currentMapping
PointMapping<TKey>

Returns

Applies to

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)

Parameters

currentMapping
PointMapping<TKey>
mappingLockToken
MappingLockToken

Returns

Applies to