NamedPermissionSet::Copy Method (String^)

 

Creates a copy of the named permission set with a different name but the same permissions.

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

public:
NamedPermissionSet^ Copy(
	String^ name
)

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
Return to top
Show: