ConnectionPolicy Class

 

Updated: June 30, 2017

Represents the connection policy associated with a DocumentClient to connect to the Azure DocumentDB database service.

Namespace:   Microsoft.Azure.Documents.Client
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

SystemObject
  Microsoft.Azure.Documents.ClientConnectionPolicy

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodConnectionPolicy

Initializes a new instance of the ConnectionPolicy class to connect to the Azure DocumentDB database service.

NameDescription
System_CAPS_pubproperty

Gets or sets the connection mode used by the client when connecting to the Azure DocumentDB database service.

System_CAPS_pubproperty

Gets or sets the connection protocol when connecting to the Azure DocumentDB database service.

System_CAPS_pubpropertySystem_CAPS_static

Gets the default connection policy used to connect to the Azure DocumentDB database service.

System_CAPS_pubproperty

Gets or sets the flag to enable endpoint discovery for geo-replicated database accounts in the Azure DocumentDB database service.

System_CAPS_pubproperty

Gets or sets the maximum number of concurrent connections allowed for the target service endpoint in the Azure DocumentDB database service.

System_CAPS_pubproperty

Gets or sets the attachment content (a.k.a. media) download mode when connecting to the Azure DocumentDB database service.

System_CAPS_pubproperty

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.

System_CAPS_pubproperty

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.

System_CAPS_pubproperty

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.

System_CAPS_pubproperty

Gets or sets the associated with the DocumentClient in the Azure DocumentDB database service.

System_CAPS_pubproperty

A suffix to be added to the default user-agent for the Azure DocumentDB database service.

NameDescription
System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_pubmethodToString

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodIsDefined

Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsNull

Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsPrimitive

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.

Return to top
Show: