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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET