IndexingPolicyDefinition<T>.WithAutomaticIndexing(Boolean) Method
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.
Defines the Container's automatic indexing.
public Microsoft.Azure.Cosmos.Fluent.IndexingPolicyDefinition<T> WithAutomaticIndexing (bool enabled);
member this.WithAutomaticIndexing : bool -> Microsoft.Azure.Cosmos.Fluent.IndexingPolicyDefinition<'T>
Public Function WithAutomaticIndexing (enabled As Boolean) As IndexingPolicyDefinition(Of T)
Parameters
- enabled
- Boolean
Defines whether Automatic Indexing is enabled or not.
Returns
An instance of IndexingPolicyDefinition<T>.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET