共用方式為


ShardMap.CreateShard Method

Definition

Overloads

CreateShard(ShardCreationInfo)
CreateShard(ShardLocation)

CreateShard(ShardCreationInfo)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard CreateShard (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardCreationInfo shardCreationArgs);
member this.CreateShard : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardCreationInfo -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard
Public Function CreateShard (shardCreationArgs As ShardCreationInfo) As Shard

Parameters

shardCreationArgs
ShardCreationInfo

Returns

Applies to

CreateShard(ShardLocation)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard CreateShard (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation location);
member this.CreateShard : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard
Public Function CreateShard (location As ShardLocation) As Shard

Parameters

location
ShardLocation

Returns

Applies to