GroupPolicyExtension.GpoPath Property
Gets the distinguished name of the Group Policy object (GPO).
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public string GpoPath { get; }
public:
property String^ GpoPath {
String^ get();
}
member GpoPath : string with get
Public ReadOnly Property GpoPath As String
Property Value
Type: System.String
Returns String. The distinguished name of the GPO; for example, cn={myguid},cn=policies,cn=system,dc=coname,dc=com.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The GPO is not open. |
ObjectDisposedException | The GroupPolicyExtension is disposed. |
See Also
GroupPolicyExtension Class
Microsoft.GroupPolicy Namespace
Return to top