你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RangeShardMap<TKey>.SplitMapping 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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))
参数
- existingMapping
- RangeMapping<TKey>
- splitAt
- TKey
返回
IReadOnlyList<RangeMapping<TKey>>
适用于
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))
参数
- existingMapping
- RangeMapping<TKey>
- splitAt
- TKey
- mappingLockToken
- MappingLockToken
返回
IReadOnlyList<RangeMapping<TKey>>