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

PSReprovisionPolicy.UpdateHubAssignment Property

Definition

When set to true (default), the Device Provisioning Service will evaluate the device's IoT Hub assignment and update it if necessary for any provisioning requests beyond the first from a given device. If set to false, the device will stay assigned to its current IoT hub.

[Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.Include, PropertyName="updateHubAssignment")]
public bool UpdateHubAssignment { get; set; }
[<Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.Include, PropertyName="updateHubAssignment")>]
member this.UpdateHubAssignment : bool with get, set
Public Property UpdateHubAssignment As Boolean

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to