Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the type for the Group Policy object (GPO).
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)
Syntax
public GpoType GpoType { get; }
public:
property GpoType GpoType {
GpoType get();
}
member GpoType : GpoType with get
Public ReadOnly Property GpoType As GpoType
Property Value
Type: Microsoft.GroupPolicy.GpoType
Returns GpoType. An enumeration value that indicates whether the GPO is the local GPO, a GPO in the Active Directory, or a remote GPO.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | The GroupPolicyObject is disposed. |
See Also
GroupPolicyObject Class
Microsoft.GroupPolicy Namespace
Return to top