PrivilegeNotHeldException.PrivilegeName Property

Definition

Gets the name of the privilege that is not enabled.

public:
 property System::String ^ PrivilegeName { System::String ^ get(); };
public string PrivilegeName { get; }
member this.PrivilegeName : string
Public ReadOnly Property PrivilegeName As String

Property Value

The name of the privilege that the method failed to enable.

Applies to