Share via


ShardMapManager.DeleteShardMap Method

Removes the specified shard map.

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 shardMap As ShardMap

instance.DeleteShardMap(shardMap)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId:="0")> _
Public Sub DeleteShardMap ( _
    shardMap As ShardMap _
)
[SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId="0")] 
public void DeleteShardMap (
    ShardMap shardMap
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1062:Validate arguments of public methods", MessageId=L"0")] 
public:
void DeleteShardMap (
    ShardMap^ shardMap
)
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId="0") */ 
public void DeleteShardMap (
    ShardMap shardMap
)
SuppressMessageAttribute("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId="0") 
public function DeleteShardMap (
    shardMap : ShardMap
)

Parameters

  • shardMap
    Shardmap to be removed.

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