共用方式為


Twin.DeviceScope Property

Definition

The scope of the device. Auto-generated and immutable for edge devices and modifiable in leaf devices to create child/parent relationship.

[Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.IgnoreAndPopulate)]
public string DeviceScope { get; }
[<Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.IgnoreAndPopulate)>]
member this.DeviceScope : string
Public ReadOnly Property DeviceScope As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

For more information, see https://docs.microsoft.com/azure/iot-edge/iot-edge-as-gateway?view=iotedge-2020-11#parent-and-child-relationships.

Applies to