Bagikan melalui


ShardMap.DeleteShard Method

Removes a shard from ShardMap.

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

Usage

'Usage
Dim instance As ShardMap
Dim shard As Shard

instance.DeleteShard(shard)

Syntax

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

Parameters

  • shard
    Shard to remove.

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

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