GroupPolicyObject.DisplayName Property
Gets or sets the display name for the Group Policy object (GPO).
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)
Syntax
public string DisplayName { get; set; }
public:
property String^ DisplayName {
String^ get();
void set(String^ value);
}
member DisplayName : string with get, set
Public Property DisplayName As String
Property Value
Type: System.String
Returns String. The display name.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The GroupPolicyObject is disposed. |
Remarks
Use the Name property to get the unique name for the GPO (the GUID for an Active Directory object).
See Also
GroupPolicyObject Class
Microsoft.GroupPolicy Namespace
Return to top