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
System_CAPS_pubmethod SchemaDiscoveryPolicy()

Initializes a new instance of the SchemaDiscoveryPolicy class.

Properties

Name Description
System_CAPS_pubproperty SchemaBuilderMode

Gets or sets the indexing mode (consistent or lazy).

Methods

Name Description
System_CAPS_pubmethod Clone()

Performs a deep copy of the schema discovery policy.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure DocumentDB database service. (Inherited from JsonSerializable.)

System_CAPS_pubmethod SaveTo(Stream, SerializationFormattingPolicy)

Saves the object to the specified stream in the Azure DocumentDB database service. (Inherited from JsonSerializable.)

System_CAPS_pubmethod 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