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

RangeShardMap<TKey>.CreateRangeMapping Method

Definition

Overloads

CreateRangeMapping(RangeMappingCreationInfo<TKey>)
CreateRangeMapping(Range<TKey>, Shard)

CreateRangeMapping(RangeMappingCreationInfo<TKey>)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> CreateRangeMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMappingCreationInfo<TKey> creationInfo);
member this.CreateRangeMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMappingCreationInfo<'Key> -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>
Public Function CreateRangeMapping (creationInfo As RangeMappingCreationInfo(Of TKey)) As RangeMapping(Of TKey)

Parameters

Returns

RangeMapping<TKey>

Applies to

CreateRangeMapping(Range<TKey>, Shard)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> CreateRangeMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Range<TKey> range, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard shard);
member this.CreateRangeMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Range<'Key> * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>
Public Function CreateRangeMapping (range As Range(Of TKey), shard As Shard) As RangeMapping(Of TKey)

Parameters

range
Range<TKey>
shard
Shard

Returns

RangeMapping<TKey>

Applies to