共用方式為


DeviceLockdownProfile.ApplyLockdownProfileAsync(Guid) 方法

定義

啟用與指定之使用者角色識別碼相關聯的限制。

public:
 static IAsyncAction ^ ApplyLockdownProfileAsync(Platform::Guid profileID);
 static IAsyncAction ApplyLockdownProfileAsync(winrt::guid const& profileID);
public static IAsyncAction ApplyLockdownProfileAsync(Guid profileID);
function applyLockdownProfileAsync(profileID)
Public Shared Function ApplyLockdownProfileAsync (profileID As Guid) As IAsyncAction

參數

profileID
Guid

Platform::Guid

winrt::guid

使用者角色識別碼。

傳回

這個方法完成時不會傳回任何物件或值。

Windows 需求

應用程式功能
enterpriseDeviceLockdown

適用於