GroupPolicyExtension.GpoDisplayName Property

 

Gets the display name of the Group Policy object (GPO) that is being edited.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Syntax

public string GpoDisplayName { get; }
public:
property String^ GpoDisplayName {
    String^ get();
}
member GpoDisplayName : string with get
Public ReadOnly Property GpoDisplayName As String

Property Value

Type: System.String

Returns String. The display name of the GPO.

Exceptions

Exception Condition
InvalidOperationException

The GPO is not open.

ObjectDisposedException

The GroupPolicyExtension is disposed.

Remarks

More than one GPO may have the same display name. GPOs are identified in the directory service by the GPO ID, which is a GUID. GPOs are not indentified in the directory service by display name.

See Also

GroupPolicyExtension Class
Microsoft.GroupPolicy Namespace

Return to top