This topic has not yet been rated - Rate this topic

GlobalCatalog Class

The GlobalCatalog class represents a global catalog server. A global catalog server is a domain controller that hosts a replica of the global catalog.

Namespace:  System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)
[DirectoryServicesPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
public ref class GlobalCatalog : public DomainController

The GlobalCatalog type exposes the following members.

  NameDescription
Public propertyCurrentTimeGets the current date and time from this domain controller. (Inherited from DomainController.)
Public propertyDomainGets the domain that this domain controller is a member of. (Inherited from DomainController.)
Public propertyForestGets the forest that this domain controller is a member of. (Inherited from DomainController.)
Public propertyHighestCommittedUsnGets the highest update sequence number that has been committed to this domain controller. (Inherited from DomainController.)
Public propertyInboundConnectionsGets the inbound replication connections for this domain controller. (Inherited from DomainController.)
Public propertyIPAddressGets the IP address of this domain controller. (Inherited from DomainController.)
Public propertyNameGets the name of the directory server. (Inherited from DirectoryServer.)
Public propertyOSVersionGets the operating system version of this domain controller. (Inherited from DomainController.)
Public propertyOutboundConnectionsGets the outbound replication connections for this domain controller. (Inherited from DomainController.)
Public propertyPartitionsGets the partitions on this directory server. (Inherited from DirectoryServer.)
Public propertyRolesGets the roles that this domain controller serves. (Inherited from DomainController.)
Public propertySiteNameGets the name of the site that this domain controller belongs to. (Inherited from DomainController.)
Public propertySyncFromAllServersCallbackGets or sets the synchronization delegate for this domain controller. (Inherited from DomainController.)
Top
  NameDescription
Public methodCheckReplicationConsistencyUses the Knowledge Consistency Checker (KCC) to verify the replication topology for this domain controller. (Inherited from DomainController.)
Public methodDisableGlobalCatalogDemotes this domain controller from a global catalog server.
Public methodDispose()Releases all managed and unmanaged resources that are used by the object. (Inherited from DirectoryServer.)
Protected methodDispose(Boolean)Causes the object to release all managed and/or unmanaged resources. (Inherited from DomainController.)
Public methodEnableGlobalCatalogNot supported for the GlobalCatalog class because this domain controller is already a global catalog server. (Overrides DomainController::EnableGlobalCatalog().)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeOverrides the Object::Finalize method. (Inherited from DomainController.)
Public methodStatic memberFindAll(DirectoryContext)Finds all global catalog servers in the specified context.
Public methodStatic memberFindAll(DirectoryContext, String)Finds all global catalog servers in the specified context and site.
Public methodFindAllPropertiesRetrieves all of the Active Directory Domain Services properties that are stored on this global catalog server.
Public methodStatic memberFindOne(DirectoryContext)Finds a single global catalog server in the specified context.
Public methodStatic memberFindOne(DirectoryContext, LocatorOptions)Finds a single global catalog server in the specified context, allowing for additional search options.
Public methodStatic memberFindOne(DirectoryContext, String)Finds a single global catalog server in the specified context and site.
Public methodStatic memberFindOne(DirectoryContext, String, LocatorOptions)Finds a single global catalog server in the specified context and site, allowing for additional search options.
Public methodGetAllReplicationNeighborsRetrieves the replication neighbors for this domain controller. (Inherited from DomainController.)
Public methodGetDirectoryEntryRetrieves a DirectoryEntry object that represents the directory server. (Inherited from DirectoryServer.)
Public methodGetDirectorySearcherRetrieves a DirectorySearcher object for the global catalog server. (Overrides DomainController::GetDirectorySearcher().)
Public methodStatic memberGetGlobalCatalogRetrieves a GlobalCatalog object for the specified context.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetReplicationConnectionFailuresRetrieves a list of the replication connection failures recorded by this domain controller. (Inherited from DomainController.)
Public methodGetReplicationCursorsRetrieves the replication cursor information for the specified partition. (Inherited from DomainController.)
Public methodGetReplicationMetadataRetrieves the replication metadata for a specific Active Directory Domain Services object. (Inherited from DomainController.)
Public methodGetReplicationNeighborsRetrieves the replication neighbors for the specified partition. (Inherited from DomainController.)
Public methodGetReplicationOperationInformationRetrieves the current and pending replication operations for this domain controller. (Inherited from DomainController.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsGlobalCatalogDetermines if this domain controller is a global catalog server. (Overrides DomainController::IsGlobalCatalog().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMoveToAnotherSiteMoves the directory server to another site within the forest or configuration set. (Inherited from DirectoryServer.)
Public methodSeizeRoleOwnershipCauses this domain controller to take ownership of the specified role. (Inherited from DomainController.)
Public methodSyncReplicaFromAllServersCauses this domain controller to synchronize the specified partition with all other domain controllers. (Inherited from DomainController.)
Public methodSyncReplicaFromServerCauses this domain controller to synchronize the specified partition with the specified domain controller. (Inherited from DomainController.)
Public methodToStringRetrieves the name of the directory server. (Inherited from DirectoryServer.)
Public methodTransferRoleOwnershipCauses ownership of the specified role to be transferred to this domain controller. (Inherited from DomainController.)
Public methodTriggerSyncReplicaFromNeighborsBegins a synchronization of the specified partition. (Inherited from DomainController.)
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.