ConnectionPolicy Class
Updated: June 30, 2017
Represents the connection policy associated with a DocumentClient to connect to the Azure DocumentDB database service.
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
| Name | Description | |
|---|---|---|
![]() | ConnectionPolicy | Initializes a new instance of the ConnectionPolicy class to connect to the Azure DocumentDB database service. |
| Name | Description | |
|---|---|---|
![]() | Gets or sets the connection mode used by the client when connecting to the Azure DocumentDB database service. | |
![]() | Gets or sets the connection protocol when connecting to the Azure DocumentDB database service. | |
![]() ![]() | Gets the default connection policy used to connect to the Azure DocumentDB database service. | |
![]() | Gets or sets the flag to enable endpoint discovery for geo-replicated database accounts in the Azure DocumentDB database service. | |
![]() | Gets or sets the maximum number of concurrent connections allowed for the target service endpoint in the Azure DocumentDB database service. | |
![]() | Gets or sets the attachment content (a.k.a. media) download mode when connecting to the Azure DocumentDB database service. | |
![]() | Gets or sets the media request timeout in seconds when connecting to the Azure DocumentDB database service. The number specifies the time to wait for response to come back from network peer for attachment content (a.k.a. media) operations. | |
![]() | Gets and sets the preferred locations (regions) for geo-replicated database accounts in the Azure DocumentDB database service. For example, "East US" as the preferred location. | |
![]() | Gets or sets the request timeout in seconds when connecting to the Azure DocumentDB database service. The number specifies the time to wait for response to come back from network peer. | |
![]() | Gets or sets the associated with the DocumentClient in the Azure DocumentDB database service. | |
![]() | A suffix to be added to the default user-agent for the Azure DocumentDB database service. |
| Name | Description | |
|---|---|---|
![]() | IsDefined | Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsNull | Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsPrimitive | Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


