Udostępnij za pośrednictwem


Database.CollectionsLink Property

Definition

Gets the self-link for collections from the Azure Cosmos DB service.

[Newtonsoft.Json.JsonProperty(PropertyName="_colls")]
public string CollectionsLink { get; }
[<Newtonsoft.Json.JsonProperty(PropertyName="_colls")>]
member this.CollectionsLink : string
Public ReadOnly Property CollectionsLink As String

Property Value

The self-link for collections in the database.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Every Azure Cosmos DB resource has a static, immutable, addressable URI. For collections, this takes the form of; /dbs/db_rid/colls/ where db_rid represents the value of the database's resource id. A resource id is not the id given to a database on creation, but an internally generated immutable id.

Applies to