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

RangeShardMap<TKey>.GetMappings Method

Definition

Overloads

GetMappings(Range<TKey>, Shard)
GetMappings(Shard)
GetMappings()
GetMappings(Range<TKey>)

GetMappings(Range<TKey>, Shard)

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

Parameters

range
Range<TKey>
shard
Shard

Returns

IReadOnlyList<RangeMapping<TKey>>

Applies to

GetMappings(Shard)

public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey>> GetMappings (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard shard);
member this.GetMappings : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>>
Public Function GetMappings (shard As Shard) As IReadOnlyList(Of RangeMapping(Of TKey))

Parameters

shard
Shard

Returns

IReadOnlyList<RangeMapping<TKey>>

Applies to

GetMappings()

public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey>> GetMappings ();
member this.GetMappings : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>>
Public Function GetMappings () As IReadOnlyList(Of RangeMapping(Of TKey))

Returns

IReadOnlyList<RangeMapping<TKey>>

Applies to

GetMappings(Range<TKey>)

public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey>> GetMappings (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Range<TKey> range);
member this.GetMappings : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Range<'Key> -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>>
Public Function GetMappings (range As Range(Of TKey)) As IReadOnlyList(Of RangeMapping(Of TKey))

Parameters

range
Range<TKey>

Returns

IReadOnlyList<RangeMapping<TKey>>

Applies to