GPDomain Members

Represents a domain.

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

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

  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.

(see also Protected Methods)
public methodCreateGpoOverloaded. Creates a new Group Policy object (GPO) in the domain.
public methodCreateStarterGpoCreates a new Starter Group Policy object (GPO) with the specified display name in the domain.
public methodEquals  Overloaded. (Inherited from Object)
public methodGetAllGposRetrieves all the Group Policy objects (GPOs) in the domain.
public methodGetAllStarterGposRetrieves all the Starter Group Policy objects (GPOs) in the domain.
public methodGetGpoOverloaded. Retrieves a specified Group Policy object (GPO) from the domain.
public methodGetHashCode  (Inherited from Object)
public methodGetSomRetrieves a scope of management (SOM) that represents the domain or the organizational unit (OU) at the specified path.
public methodGetStarterGpoOverloaded. Retrieves a specified Starter Group Policy object (GPO) from the domain.
public methodGetType  (Inherited from Object)
public methodGetWmiFilterRetrieves the specified WMI filter from the domain.
public methodImportStarterGpoOverloaded. Imports a Starter Group Policy object (GPO) into the domain from the specified Starter GPO cabinet (CAB) file.
public methodstaticReferenceEquals  (Inherited from Object)
public methodRestoreGpoOverloaded. Restores a Group Policy object (GPO) from a GPO backup.
public methodRestoreStarterGpoOverloaded. Restores the Starter Group Policy object (GPO) from a Starter GPO backup.
public methodSearchGposOverloaded. Queries the domain for Group Policy objects (GPOs).
public methodSearchSomsRetrieves a scope of management (SOM) for each container (in the domain) that the specified GPO is linked to.
public methodSearchStarterGposOverloaded. Queries the domain for Starter Group Policy objects (GPOs).
public methodSearchWmiFiltersQueries the domain for all WMI filters.
public methodToString  (Inherited from Object)

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

Community Additions