共用方式為


ListShardMap<TKey>.CreatePointMapping Method

Definition

Overloads

CreatePointMapping(PointMappingCreationInfo<TKey>)
CreatePointMapping(TKey, Shard)

CreatePointMapping(PointMappingCreationInfo<TKey>)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.PointMapping<TKey> CreatePointMapping (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.PointMappingCreationInfo<TKey> creationInfo);
member this.CreatePointMapping : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.PointMappingCreationInfo<'Key> -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.PointMapping<'Key>
Public Function CreatePointMapping (creationInfo As PointMappingCreationInfo(Of TKey)) As PointMapping(Of TKey)

Parameters

Returns

Applies to

CreatePointMapping(TKey, Shard)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.PointMapping<TKey> CreatePointMapping (TKey point, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard shard);
member this.CreatePointMapping : 'Key * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.PointMapping<'Key>
Public Function CreatePointMapping (point As TKey, shard As Shard) As PointMapping(Of TKey)

Parameters

point
TKey
shard
Shard

Returns

Applies to