PrivilegeNotHeldException.PrivilegeName Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the privilege that is not enabled.
public:
 property System::String ^ PrivilegeName { System::String ^ get(); };public string? PrivilegeName { get; }public string PrivilegeName { get; }member this.PrivilegeName : stringPublic ReadOnly Property PrivilegeName As StringProperty Value
The name of the privilege that the method failed to enable.