Sdílet prostřednictvím


ShardMapManager.GetShardMaps Method

Obtains all shard maps associated with the shard map manager.

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

Usage

'Usage
Dim instance As ShardMapManager
Dim returnValue As IEnumerable(Of ShardMap)

returnValue = instance.GetShardMaps

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification:="Method is appropriate here because we're not just returning object state")> _
Public Function GetShardMaps As IEnumerable(Of ShardMap)
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification="Method is appropriate here because we\'re not just returning object state")] 
public IEnumerable<ShardMap> GetShardMaps ()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate", Justification=L"Method is appropriate here because we\'re not just returning object state")] 
public:
IEnumerable<ShardMap^>^ GetShardMaps ()
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification="Method is appropriate here because we\'re not just returning object state") */ 
public IEnumerable<ShardMap> GetShardMaps ()
SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification="Method is appropriate here because we\u0027re not just returning object state") 
public function GetShardMaps () : IEnumerable<ShardMap>

Return Value

Collection of shard maps associated with the shard map manager.

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

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