Share via


ShardMapExtensions.AsRangeShardMap Method

Namespace: Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
Assembly: Microsoft.Azure.SqlDatabase.ElasticScale.Client (in Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll)

Usage

'Usage
Dim shardMap As ShardMap
Dim returnValue As RangeShardMap(Of TKey)

returnValue = ShardMapExtensions.AsRangeShardMap(shardMap)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId:="0")> _
<ExtensionAttribute> _
Public Shared Function AsRangeShardMap(Of TKey) ( _
    shardMap As ShardMap _
) As RangeShardMap(Of TKey)
[SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId="0")] 
[ExtensionAttribute] 
public static RangeShardMap<TKey> AsRangeShardMap<TKey> (
    ShardMap shardMap
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1062:Validate arguments of public methods", MessageId=L"0")] 
[ExtensionAttribute] 
public:
generic<typename TKey>
static RangeShardMap<TKey>^ AsRangeShardMap (
    ShardMap^ shardMap
)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ShardMapExtensions Class
ShardMapExtensions Members
Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement Namespace