SchemaDiscoveryPolicy Class
Represents the schema discovery policy configuration for a collection.
Namespace: Microsoft.Azure.Documents
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Documents.JsonSerializable
Microsoft.Azure.Documents.SchemaDiscoveryPolicy
Syntax
public sealed class SchemaDiscoveryPolicy : JsonSerializable,
ICloneable
public ref class SchemaDiscoveryPolicy sealed : JsonSerializable,
ICloneable
Public NotInheritable Class SchemaDiscoveryPolicy
Inherits JsonSerializable
Implements ICloneable
Constructors
| Name | Description | |
|---|---|---|
![]() |
SchemaDiscoveryPolicy() | Initializes a new instance of the SchemaDiscoveryPolicy class. |
Properties
| Name | Description | |
|---|---|---|
![]() |
SchemaBuilderMode | Gets or sets the indexing mode (consistent or lazy). |
Methods
| Name | Description | |
|---|---|---|
![]() |
Clone() | Performs a deep copy of the schema discovery policy. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
LoadFrom(JsonReader) | Loads the object from the specified JSON reader in the Azure DocumentDB database service. (Inherited from JsonSerializable.) |
![]() |
SaveTo(Stream, SerializationFormattingPolicy) | Saves the object to the specified stream in the Azure DocumentDB database service. (Inherited from JsonSerializable.) |
![]() |
ToString() | Returns the string representation of the object in the Azure DocumentDB database service. (Inherited from JsonSerializable.) |
Remarks
The schema discovery policy is used to control the schema builder through a collection configuration.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
DocumentCollection
Microsoft.Azure.Documents Namespace
Return to top
.jpeg)
.jpeg)