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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per