This documentation is archived and is not being maintained.

Domain Members

The Domain class represents an Active Directory domain.

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

  Name Description
Public property Children Gets the domains that are children of this domain.
Public property DomainControllers Gets the domain controllers in this domain.
Public property DomainMode Gets the mode that this domain is operating in.
Public property Forest Gets the forest that this domain is a member of.
Public property InfrastructureRoleOwner Gets the infrastructure role owner for this domain.
Public property Name  Gets the partition name.(inherited from ActiveDirectoryPartition)
Public property Parent Gets the parent domain of this domain.
Public property PdcRoleOwner Gets the DomainController object that holds the primary domain controller (PDC) for this domain.
Public property RidRoleOwner Gets the RID master role holder for this domain.
Top

(see also Protected Methods )
  Name Description
Public method CreateLocalSideOfTrustRelationship Creates the local side of a trust relationship with the specified domain.
Public method CreateTrustRelationship Creates both sides of a trust relationship with the specified domain.
Public method DeleteLocalSideOfTrustRelationship Deletes the local side of a trust relationship.
Public method DeleteTrustRelationship Deletes both sides of a trust relationship.
Public method Dispose  Overloaded. Releases the resources that are held by the object. (inherited from ActiveDirectoryPartition)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FindAllDiscoverableDomainControllers Overloaded. Finds all of the discoverable domain controllers in this domain.
Public method FindAllDomainControllers Overloaded. Finds all of the domain controllers in this domain.
Public method FindDomainController Overloaded. Finds any domain controller in this domain.
Public method GetAllTrustRelationships Retrieves all of the trust relationships for this domain.
Public method Static GetComputerDomain Gets the Domain object that represents the domain to which the local computer is joined.
Public method Static GetCurrentDomain Gets the Domain object for the current user credentials in effect for the security context under which the application is running.
Public method GetDirectoryEntry Overridden. Retrieves a DirectoryEntry object that represents the default naming context of the domain.
Public method Static GetDomain Gets the Domain object for the specified context.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetSelectiveAuthenticationStatus Determines the authentication type of an inbound trust.
Public method GetSidFilteringStatus Determines the SID filtering status of a trust.
Public method GetTrustRelationship Gets the trust relationship between this domain and the specified domain.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method RaiseDomainFunctionality Raises the mode of operation for the domain.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RepairTrustRelationship Repairs a trust relationship.
Public method SetSelectiveAuthenticationStatus Enables or disables selective authentication for an inbound trust.
Public method SetSidFilteringStatus Sets the SID filtering state for the specified domain.
Public method ToString  Retrieves a string representation of the current directory partition. (inherited from ActiveDirectoryPartition)
Public method UpdateLocalSideOfTrustRelationship Overloaded. Updates the local side of a trust relationship.
Public method UpdateTrustRelationship Updates the trust direction for an existing trust relationship. The trust directions are updated on both sides of the trust.
Public method VerifyOutboundTrustRelationship Verifies that a previously established outbound trust with the specified domain is valid.
Public method VerifyTrustRelationship Verifies that a previously established trust with the specified domain is valid.
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources that are held by the object. (inherited from ActiveDirectoryPartition)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: