Share via


GroupPolicyObject.Path Property

 

Gets the path to the Group Policy object (GPO).

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

Syntax

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

Property Value

Type: System.String

Returns String. The path to the GPO.

Exceptions

Exception Condition
ObjectDisposedException

The GroupPolicyObject is disposed.

Remarks

If the GPO is an Active Directory object, Path is in ADSI name format. If the GPO is a computer object, Path is a file system path.

See Also

GroupPolicyObject Class
Microsoft.GroupPolicy Namespace

Return to top