HashPartitionResolver.ResolveForCreate(Object) Method
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.
Given a partition key, returns the collection self-link for creating a document in the Azure Cosmos DB service.
public virtual string ResolveForCreate (object partitionKey);
abstract member ResolveForCreate : obj -> string
override this.ResolveForCreate : obj -> string
Public Overridable Function ResolveForCreate (partitionKey As Object) As String
Parameters
- partitionKey
- Object
The partition key used to determine the target collection for creates.
Returns
The target collection link that will be used for document creation.
Implements
Exceptions
Thrown if the specified partitionKey
is null.
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