PolicyLevel::RemoveNamedPermissionSet Method (String^)
.NET Framework (current version)
Removes the NamedPermissionSet with the specified name from the current policy level.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
-
Type:
System::String^
The name of the NamedPermissionSet to remove.
| Exception | Condition |
|---|---|
| ArgumentException | The name parameter is equal to the name of a reserved permission set. -or- A NamedPermissionSet with the specified name cannot be found. |
| ArgumentNullException | The name parameter is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: