StarterGpo.DisplayName Property

 

Gets or sets the display name of the Starter Group Policy object (GPO).

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.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 of the Starter GPO.

Exceptions

Exception Condition
ArgumentException

The property is set to an empty string (“”).

ArgumentException

The property is set to null.

Remarks

Starter GPOs are identified in the directory service by ID (GUID), not by display name. You can use the Id property to get the ID of the Starter GPO.

See Also

StarterGpo Class
Microsoft.GroupPolicy Namespace

Return to top