Table of Contents

Class ReplicationPolicy

Namespace
Microsoft.Azure.Documents
Assembly
Microsoft.Azure.Documents.Client.dll

Replication policy.

public sealed class ReplicationPolicy : JsonSerializable
Inheritance
ReplicationPolicy
Inherited Members
Extension Methods

Constructors

ReplicationPolicy()

Constructor.

public ReplicationPolicy()

Properties

AsyncReplication

Whether or not async replication is enabled.

public bool AsyncReplication { get; set; }

Property Value

bool

MaxReplicaSetSize

Maximum number of replicas for the partition.

public int MaxReplicaSetSize { get; set; }

Property Value

int

MinReplicaSetSize

Minimum number of replicas to ensure availability of the partition.

public int MinReplicaSetSize { get; set; }

Property Value

int