WorkplaceSettings 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使 UWP 应用能够访问通过组策略或其他管理服务管理的选定企业设置。
public ref class WorkplaceSettings abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Workplace.WorkplaceSettingsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WorkplaceSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Workplace.WorkplaceSettingsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class WorkplaceSettings
Public Class WorkplaceSettings
- 继承
- 属性
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
|
API contract |
Windows.Management.Workplace.WorkplaceSettingsContract (在 v1.0 中引入)
|
属性
IsMicrosoftAccountOptional |
获取一个值,该值指示是否可以使用企业 ID 而不是 Microsoft 帐户。 |