你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Device.ParentScopes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
上层边缘设备的范围(如果适用)。
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="parentScopes")]
public virtual System.Collections.Generic.IList<string> ParentScopes { get; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="parentScopes")>]
member this.ParentScopes : System.Collections.Generic.IList<string>
Public Overridable ReadOnly Property ParentScopes As IList(Of String)
属性值
- 属性
-
Newtonsoft.Json.JsonPropertyAttribute
注解
对于边缘设备,可以从父边缘设备的作用域属性中检索用于设置父边缘设备的值。
对于叶设备,可以将其设置为与范围相同的值,也可以保留服务进行复制。
目前,此列表在集合中只能有 1 个元素。