WorkplaceSettings 类

定义

使 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
继承
Object Platform::Object IInspectable WorkplaceSettings
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Management.Workplace.WorkplaceSettingsContract (在 v1.0 中引入)

属性

IsMicrosoftAccountOptional

获取一个值,该值指示是否可以使用企业 ID 而不是 Microsoft 帐户。

适用于