Sdílet prostřednictvím


Resource.SelfLink Property

Definition

Gets the self-link associated with the resource from the Azure Cosmos DB service.

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

Property Value

The self-link associated with the resource.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

A self-link is a static addressable Uri for each resource within a database account and follows the Azure Cosmos DB resource model. E.g. a self-link for a document could be dbs/db_resourceid/colls/coll_resourceid/documents/doc_resourceid

Applies to