Replaces a System.Security.NamedPermissionSet in the current policy level with the specified System.Security.PermissionSet.
- 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.
A copy of the System.Security.NamedPermissionSet that was replaced.