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

Permission.ResourcePartitionKey 属性

定义

获取或设置 Azure Cosmos DB 服务中权限的可选分区键值。 当满足两个条件时,权限将应用于资源:1. ResourceLink 是资源链接的前缀。 例如,“/dbs/mydatabase/colls/mycollection”适用于“/dbs/mydatabase/colls/mycollection”和“/dbs/mydatabase/colls/mycollection/docs/mydocument”2。 ResourcePartitionKey 是资源的分区键的超集。 例如,缺席/空分区键是所有分区键的超集。

[Newtonsoft.Json.JsonProperty(PropertyName="resourcePartitionKey")]
public Microsoft.Azure.Documents.PartitionKey ResourcePartitionKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="resourcePartitionKey")>]
member this.ResourcePartitionKey : Microsoft.Azure.Documents.PartitionKey with get, set
Public Property ResourcePartitionKey As PartitionKey

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于