GPDomain Members

Represents a domain.

The following tables list the members exposed by the GPDomain type.

Public Constructors

  Name Description
  GPDomain Overloaded. Initializes a new instance of the GPDomain class.

Top

Public Properties

  Name Description
public property DomainController Gets the name of the domain controller that is used by this GPDomain object.
public property DomainName Gets the full DNS name of the current domain.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method CreateGpo Overloaded. Creates a new Group Policy object (GPO) in the domain.
public method CreateStarterGpo Creates a new Starter Group Policy object (GPO) with the specified display name in the domain.
public method Equals  Overloaded. (Inherited from Object)
public method GetAllGpos Retrieves all the Group Policy objects (GPOs) in the domain.
public method GetAllStarterGpos Retrieves all the Starter Group Policy objects (GPOs) in the domain.
public method GetGpo Overloaded. Retrieves a specified Group Policy object (GPO) from the domain.
public method GetHashCode  (Inherited from Object)
public method GetSom Retrieves a scope of management (SOM) that represents the domain or the organizational unit (OU) at the specified path.
public method GetStarterGpo Overloaded. Retrieves a specified Starter Group Policy object (GPO) from the domain.
public method GetType  (Inherited from Object)
public method GetWmiFilter Retrieves the specified WMI filter from the domain.
public method ImportStarterGpo Overloaded. Imports a Starter Group Policy object (GPO) into the domain from the specified Starter GPO cabinet (CAB) file.
public methodstatic ReferenceEquals  (Inherited from Object)
public method RestoreGpo Overloaded. Restores a Group Policy object (GPO) from a GPO backup.
public method RestoreStarterGpo Overloaded. Restores the Starter Group Policy object (GPO) from a Starter GPO backup.
public method SearchGpos Overloaded. Queries the domain for Group Policy objects (GPOs).
public method SearchSoms Retrieves a scope of management (SOM) for each container (in the domain) that the specified GPO is linked to.
public method SearchStarterGpos Overloaded. Queries the domain for Starter Group Policy objects (GPOs).
public method SearchWmiFilters Queries the domain for all WMI filters.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

GPDomain Class
Microsoft.GroupPolicy Namespace