IPartitionResolver.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, this returns the collection self-link for creating a document in the Azure Cosmos DB service.
public string ResolveForCreate (object partitionKey);
abstract member ResolveForCreate : obj -> string
Public Function ResolveForCreate (partitionKey As Object) As String
Parameters
- partitionKey
- Object
The partition key used to determine the target collection for create operations.
Returns
A self-link for the collection to create documents in for the specified partition key.
Remarks
The return value must be a valid collection self-link string in the format dbs/db_rid/colls/col_rid.