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