Table of Contents

Class DatabaseAccountLocation

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

The DatabaseAccountLocation class represents an Azure Cosmos DB database account in a specific region.

public class DatabaseAccountLocation : JsonSerializable
Inheritance
DatabaseAccountLocation
Inherited Members
Extension Methods

Constructors

DatabaseAccountLocation()

Creates a new instance of the DatabaseAccountLocation object in the Azure Cosmos DB service.

public DatabaseAccountLocation()

Properties

DatabaseAccountEndpoint

Gets the Url of the database account location in the Azure Cosmos DB service. For example, "https://contoso-WestUS.documents.azure.com:443/" as the Url of the database account location in the West US region.

public string DatabaseAccountEndpoint { get; }

Property Value

string

Name

Gets the name of the database account location in the Azure Cosmos DB service. For example, "West US" as the name of the database account location in the West US region.

public string Name { get; }

Property Value

string