System.Security.Policy.PolicyLevel.ChangeNamedPermissionSet Method

Replaces a System.Security.NamedPermissionSet in the current policy level with the specified System.Security.PermissionSet.

Syntax

public System.Security.NamedPermissionSet ChangeNamedPermissionSet (string name, System.Security.PermissionSet pSet)

Parameters

name
The name of the System.Security.NamedPermissionSet to replace.
pSet
The System.Security.PermissionSet that replaces the System.Security.NamedPermissionSet specified by the name parameter.

Returns

A copy of the System.Security.NamedPermissionSet that was replaced.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0