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

ContainerProperties 构造函数

定义

重载

ContainerProperties()

为 Azure Cosmos DB 服务初始化 类的新实例 ContainerProperties

ContainerProperties(String, String)

为 Azure Cosmos DB 服务初始化 类的新实例 ContainerProperties

ContainerProperties()

为 Azure Cosmos DB 服务初始化 类的新实例 ContainerProperties

public ContainerProperties ();
Public Sub New ()

适用于

ContainerProperties(String, String)

为 Azure Cosmos DB 服务初始化 类的新实例 ContainerProperties

public ContainerProperties (string id, string partitionKeyPath);
new Azure.Cosmos.ContainerProperties : string * string -> Azure.Cosmos.ContainerProperties
Public Sub New (id As String, partitionKeyPath As String)

参数

id
String

Azure Cosmos 服务中资源的 ID。

partitionKeyPath
String

分区键的路径。 示例:/location

适用于