HashPartitionResolver.PartitionKeyPropertyName Property
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.
Gets the name of the property in the document to execute the hashing on in the Azure Cosmos DB service.
public string PartitionKeyPropertyName { get; }
member this.PartitionKeyPropertyName : string
Public ReadOnly Property PartitionKeyPropertyName As String
Property Value
The name of the property in the document to execute the hashing on.
Remarks
HashPartitionResolver supports two modes - one using PartitionKeyPropertyName and the other using PartitionKeyExtractor. PartitionKeyPropertyName is extracted using Reflection, so use the C# property name, not the JSON representation.
Applies to
Azure SDK for .NET