你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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