IAdmDomain

The IAdmDomain interface extends the IADsDomain interface.

Inheritance: IADsDomain

Methods

Properties

Details

CanRaiseFunctionalLevel()

Determines if the functional level of the Active Directory domain can be raised.

bool CanRaiseFunctionalLevel(out ADM_DOMAIN_FUNCTIONAL_LEVEL_ENUM maxLevel, 
                                out string[] notAppropriateDCs)

Parameters

  • maxLevel - An output (OUT) parameter that returns the maximum functional level of the domain.
  • notAppropriateDCs - An output (OUT) parameter that returns an array that contains DNS host names of the domain controllers that do not support a higher functional level.

Remarks

If the functional level can be raised, the maxLevel parameter returns the maximum level that the current domain supports, otherwise, if the functional level cannot be raised, the notAppropriateDCs parameter returns an array that contains DNS host names of those DCs that do not support a higher functional level. If this array is empty, and the method returns false, then the domain is at its highest functional level.


FindDomainControllersNtdsDsaObjects()

Finds DSA objects of domain controllers.

IADsCollection FindDomainControllersNtdsDsaObjects(ADM_FIND_DC_PARAM_ENUM findParam)

Parameters

The findParam parameter controls which domain controllers to search for. When set to ADM_FIND_DC_PARAM_DOMAIN, the method searches for domain controllers that belong to the current domain. Otherwise, when set to ADM_FIND_DC_PARAM_FOREST, the method searches for all domain controllers in the forest.

Return value

The method returns the IADsCollection interface that represents a list of NTDS DSA objects found.


GetFsmoRoleObject()

Returns a directory object that represents the owner of the specified FSMO role.

IAdmTop GetFsmoRoleObject(ADM_FSMO_ROLE_ENUM role)

Parameters

The role parameter specifies the FSMO role.


DomainFunctionalLevel

Gets or sets the domain functional level.


ForestCrossRefContainer

Gets the crossRefContainer object for the forest of the domain.


Requirements

Minimum required version: 2009.1

See also