SystemPolicy.GetLockdownPolicy(String, SafeHandle) Method

Definition

Gets lockdown policy as applied to a file.

public:
 static System::Management::Automation::Security::SystemEnforcementMode GetLockdownPolicy(System::String ^ path, System::Runtime::InteropServices::SafeHandle ^ handle);
public static System.Management.Automation.Security.SystemEnforcementMode GetLockdownPolicy (string path, System.Runtime.InteropServices.SafeHandle handle);
static member GetLockdownPolicy : string * System.Runtime.InteropServices.SafeHandle -> System.Management.Automation.Security.SystemEnforcementMode
Public Shared Function GetLockdownPolicy (path As String, handle As SafeHandle) As SystemEnforcementMode

Parameters

path
String
handle
SafeHandle

Returns

An EnforcementMode that describes policy

Remarks

Always return SystemEnforcementMode.None in CSS (trusted)

Applies to