共用方式為


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

取得值,這個值表示是否可以使用企業識別碼,而不是 Microsoft 帳戶。

適用於