IndexingPolicy Constructors
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.
Overloads
IndexingPolicy() |
Initializes a new instance of the IndexingPolicy class. |
IndexingPolicy(Nullable<Boolean>, String, IList<IncludedPath>, IList<ExcludedPath>, IList<IList<CompositePath>>, IList<SpatialSpec>) |
Initializes a new instance of the IndexingPolicy class. |
IndexingPolicy()
Initializes a new instance of the IndexingPolicy class.
public IndexingPolicy ();
Public Sub New ()
Applies to
IndexingPolicy(Nullable<Boolean>, String, IList<IncludedPath>, IList<ExcludedPath>, IList<IList<CompositePath>>, IList<SpatialSpec>)
Initializes a new instance of the IndexingPolicy class.
public IndexingPolicy (bool? automatic = default, string indexingMode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.IncludedPath> includedPaths = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.ExcludedPath> excludedPaths = default, System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.CompositePath>> compositeIndexes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SpatialSpec> spatialIndexes = default);
new Microsoft.Azure.Management.CosmosDB.Models.IndexingPolicy : Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.IncludedPath> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.ExcludedPath> * System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.CompositePath>> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SpatialSpec> -> Microsoft.Azure.Management.CosmosDB.Models.IndexingPolicy
Public Sub New (Optional automatic As Nullable(Of Boolean) = Nothing, Optional indexingMode As String = Nothing, Optional includedPaths As IList(Of IncludedPath) = Nothing, Optional excludedPaths As IList(Of ExcludedPath) = Nothing, Optional compositeIndexes As IList(Of IList(Of CompositePath)) = Nothing, Optional spatialIndexes As IList(Of SpatialSpec) = Nothing)
Parameters
- indexingMode
- String
Indicates the indexing mode. Possible values include: 'consistent', 'lazy', 'none'
- includedPaths
- IList<IncludedPath>
List of paths to include in the indexing
- excludedPaths
- IList<ExcludedPath>
List of paths to exclude from indexing
- compositeIndexes
- IList<IList<CompositePath>>
List of composite path list
- spatialIndexes
- IList<SpatialSpec>
List of spatial specifics
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應