Share via


ShardMapExtensions.AsListShardMap 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 ListShardMap(Of TKey)

returnValue = ShardMapExtensions.AsListShardMap(shardMap)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId:="0")> _
<ExtensionAttribute> _
Public Shared Function AsListShardMap(Of TKey) ( _
    shardMap As ShardMap _
) As ListShardMap(Of TKey)
[SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId="0")] 
[ExtensionAttribute] 
public static ListShardMap<TKey> AsListShardMap<TKey> (
    ShardMap shardMap
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1062:Validate arguments of public methods", MessageId=L"0")] 
[ExtensionAttribute] 
public:
generic<typename TKey>
static ListShardMap<TKey>^ AsListShardMap (
    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