RequestOptions.SharedOfferThroughput RequestOptions.SharedOfferThroughput RequestOptions.SharedOfferThroughput Property

Definition

Warning

This API is now obsolete.

Gets or sets shared offer throughput on a collection.

[System.Obsolete("Deprecated")]
public Nullable<int> SharedOfferThroughput { get; set; }
member this.SharedOfferThroughput : Nullable<int> with get, set
Public Property SharedOfferThroughput As Nullable(Of Integer)

Property Value

Examples

The followng example shows how to create a collection with offer throughtput.


await client.CreateDocumentCollectionAsync(
    database.SelfLink,
    new DocumentCollection { Id = "newcoll" },
    new RequestOptions { SharedOfferThroughput = 50000 });

Remarks

This option is only valid when creating a document collection that shares offer throughput

provisioned at database level. Specifies maximum shared throughput available for collection

in the absence of contention. This value should be less than the throughput specified at

database level.

Applies to