NamedPermissionSet::Copy Method (String^)
.NET Framework (current version)
Creates a copy of the named permission set with a different name but the same permissions.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
-
Type:
System::String^
The name for the new named permission set.
Return Value
Type: System.Security::NamedPermissionSet^A copy of the named permission set with the new name.
| Exception | Condition |
|---|---|
| ArgumentException | The name parameter is null or is an empty string (""). |
.NET Framework
Available since 1.1
Available since 1.1
Show: