Share via


SystemPolicy.GetSystemLockdownPolicy Method

Definition

Gets the system lockdown policy.

public:
 static System::Management::Automation::Security::SystemEnforcementMode GetSystemLockdownPolicy();
public static System.Management.Automation.Security.SystemEnforcementMode GetSystemLockdownPolicy ();
static member GetSystemLockdownPolicy : unit -> System.Management.Automation.Security.SystemEnforcementMode
Public Shared Function GetSystemLockdownPolicy () As SystemEnforcementMode

Returns

An EnforcementMode that describes the system policy

Remarks

Always return SystemEnforcementMode.None in CSS (trusted)

Applies to