ConnectionMode
Enum
Definition
Represents the connection mode to be used by the client when connecting to the Azure DocumentDB database service.
public enum ConnectionMode
- Inheritance
-
ConnectionMode
Fields
| Direct | Uses direct connectivity to connect to the data nodes in the Azure DocumentDB database service. Use gateway only to initialize and cache logical addresses and refresh on updates |
| Gateway | Use the DocumentDB gateway to route all requests to the Azure DocumentDB database service. The gateway proxies requests to the right data partition. |
Remarks
Direct and Gateway connectivity modes are supported. Gateway is the default.