Compartir a través de


ChangeFeedOptions.PartitionKey Propiedad

Definición

Obtiene o establece la clave de partición de la solicitud actual en el servicio Azure Cosmos DB.

public Microsoft.Azure.Documents.PartitionKey PartitionKey { get; set; }
member this.PartitionKey : Microsoft.Azure.Documents.PartitionKey with get, set
Public Property PartitionKey As PartitionKey

Valor de propiedad

Ejemplos

var options = new ChangeFeedOptions() { PartitionKey = new PartitionKey("c7580115-8f46-4ac4-a0c7-22eae9aaabf1"), StartFromBeginning = true };

Comentarios

PartitionKey no se puede especificar junto con PartitionKeyRangeId.

Se aplica a