RemoveNamedPermissionSet Method (NamedPermissionSet)
Collapse the table of content
Expand the table of content

PolicyLevel.RemoveNamedPermissionSet Method (NamedPermissionSet)

 

Removes the specified NamedPermissionSet from the current policy level.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public NamedPermissionSet RemoveNamedPermissionSet(
	NamedPermissionSet permSet
)

Parameters

permSet
Type: System.Security.NamedPermissionSet

The NamedPermissionSet to remove from the current policy level.

Return Value

Type: System.Security.NamedPermissionSet

The NamedPermissionSet that was removed.

Exception Condition
ArgumentException

The NamedPermissionSet specified by the permSet parameter was not found.

ArgumentNullException

The permSet parameter is null.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft