您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的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