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

Resource.SetPropertyValue(String, Object) Method

Definition

Sets property value associated with the specified property name in the Azure Cosmos DB service.

public void SetPropertyValue(string propertyName, object propertyValue);
member this.SetPropertyValue : string * obj -> unit
Public Sub SetPropertyValue (propertyName As String, propertyValue As Object)

Parameters

propertyName
String

The name of the property.

propertyValue
Object

The property value.

Applies to