共用方式為


IndexingPolicy.Automatic Property

Definition

Gets or sets a value that indicates whether automatic indexing is enabled for a collection in the Azure Cosmos DB service.

[Newtonsoft.Json.JsonProperty(PropertyName="automatic")]
public bool Automatic { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="automatic")>]
member this.Automatic : bool with get, set
Public Property Automatic As Boolean

Property Value

True, if automatic indexing is enabled; otherwise, false.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

In automatic indexing, documents can be explicitly excluded from indexing using RequestOptions. In manual indexing, documents can be explicitly included.

Applies to