IWithShardKey Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The stage of the mongo collection update allowing to set shard keys.
public interface IWithShardKey
type IWithShardKey = interface
Public Interface IWithShardKey
- Derived
Methods
WithoutShardKey(String) |
Removes a shard key. |
WithoutShardKeys() |
Removes all shard keys. |
WithShardKey(String) |
Specifies a shard key with default partition kind "Hash". |
WithShardKey(String, String) |
Specifies a shard key. |
WithShardKeys(IDictionary<String,String>) |
Appends all shard keys to current shard keys. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET