次の方法で共有


ShardMap Members

Represents a collection of shards and mappings between keys and shards in the collection.

The following tables list the members exposed by the ShardMap type.

Public Properties

  Name Description
public property KeyType Shard map key type.
public property MapType Shard map type.
public property Name Shard map name.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method CreateShard Overloaded.  
public method DeleteShard Removes a shard from ShardMap.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetShard Obtains the shard for the specified location.
public method GetShards Gets all shards from the shard map.
public method GetType  (Inherited from Object)
public method OpenConnectionForKey Overloaded.  
public method OpenConnectionForKeyAsync Overloaded.  
public method ToString Overridden. Converts the object to its string representation.
public method TryGetShard Tries to obtains the shard for the specified location.

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method CloneCore Clones the current shard map instance.
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

Extension Methods

  Name Description
public extension method AsListShardMap  (Defined by ShardMapExtensions.)
public extension method AsRangeShardMap  (Defined by ShardMapExtensions.)

Top

See Also

Reference

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