ChangeFeedOptions.PartitionKey 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 or sets the partition key for the current request in the Azure Cosmos DB service.
public Microsoft.Azure.Documents.PartitionKey PartitionKey { get; set; }
member this.PartitionKey : Microsoft.Azure.Documents.PartitionKey with get, set
Public Property PartitionKey As PartitionKey
Property Value
Examples
var options = new ChangeFeedOptions() { PartitionKey = new PartitionKey("c7580115-8f46-4ac4-a0c7-22eae9aaabf1"), StartFromBeginning = true };
Remarks
PartitionKey cannot be specified along with PartitionKeyRangeId.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.