Export (0) Print
Expand All
Expand Minimize

System.DirectoryServices.ActiveDirectory Namespace

The System.DirectoryServices.ActiveDirectory namespace provides a high level abstraction object model that builds around Microsoft Active Directory service tasks. The Active Directory service concepts such as forest, domain, site, subnet, partition, and schema are part of the object model.

The System.DirectoryServices.ActiveDirectory namespace is used to automate Active Directory management tasks. System.DirectoryServices.ActiveDirectory is not used to access data that resides within Active Directory or any other directory service. The System.DirectoryServices namespace should be used for this purpose.

The System.DirectoryServices.ActiveDirectory namespace is intended for use by application developers who are familiar with .NET Framework programming using Visual Basic .NET or C#. Knowledge of directory services programming is also helpful.

System.DirectoryServices.ActiveDirectory is part of Microsoft Visual Studio 2005 and is supported on any operating system that Microsoft Visual Studio 2005 is compatible with.

 ClassDescription
Public classActiveDirectoryInterSiteTransportThe ActiveDirectoryInterSiteTransport class represents an inter-site transport object.
Public classActiveDirectoryObjectExistsExceptionThe ActiveDirectoryObjectExistsException class exception is thrown when an Active Directory Domain Services object is created and that object already exists in the underlying directory store.
Public classActiveDirectoryObjectNotFoundExceptionThe ActiveDirectoryObjectNotFoundException class exception is thrown when a requested object is not found in the underlying directory store.
Public classActiveDirectoryOperationExceptionThe ActiveDirectoryOperationException class exception is thrown when an underlying directory operation fails.
Public classActiveDirectoryPartitionThe ActiveDirectoryPartition class is an abstract class that represents a directory partition in a domain.
Public classActiveDirectoryReplicationMetadataThe ActiveDirectoryReplicationMetadata class contains replication information for a set of Active Directory Domain Services attributes.
Public classActiveDirectoryRoleCollectionThe ActiveDirectoryRoleCollection class is a read-only collection that contains ActiveDirectoryRole objects.
Public classActiveDirectoryScheduleThe ActiveDirectorySchedule class represents the weekly schedule for an Active Directory Domain Services replication.
Public classActiveDirectorySchemaThe ActiveDirectorySchema class represents the schema partition for a particular domain.
Public classActiveDirectorySchemaClassThe ActiveDirectorySchemaClass class represents a schema class definition that is contained in the schema partition.
Public classActiveDirectorySchemaClassCollectionThe ActiveDirectorySchemaClassCollection class is a read/write collection that contains ActiveDirectorySchemaClass objects.
Public classActiveDirectorySchemaPropertyThe ActiveDirectorySchemaProperty class represents a schema property definition that is contained in the schema partition.
Public classActiveDirectorySchemaPropertyCollectionThe ActiveDirectorySchemaPropertyCollection class is a read/write collection that contains ActiveDirectorySchemaProperty objects.
Public classActiveDirectoryServerDownExceptionThe ActiveDirectoryServerDownException class exception is thrown when a server is unavailable to respond to a service request.
Public classActiveDirectorySiteThe ActiveDirectorySite class defines a set of domain controllers that are well-connected in terms of speed and cost. A site object consists of a set of one or more IP subnets.
Public classActiveDirectorySiteCollectionThe ActiveDirectorySiteCollection class is a read/write collection that contains ActiveDirectorySite objects.
Public classActiveDirectorySiteLinkThe ActiveDirectorySiteLink class represents a set of two or more sites that can be scheduled, for replication, to communicate at uniform cost and through a particular transport.
Public classActiveDirectorySiteLinkBridgeThe ActiveDirectorySiteLinkBridge class represents a set of site links that communicate through a transport.
Public classActiveDirectorySiteLinkCollectionThe ActiveDirectorySiteLinkCollection class is a read/write collection that contains ActiveDirectorySiteLink objects.
Public classActiveDirectorySubnetThe ActiveDirectorySubnet class represents a subnet in a Forest.
Public classActiveDirectorySubnetCollectionThe ActiveDirectorySubnetCollection class is a read/write collection that contains ActiveDirectorySubnet objects.
Public classAdamInstanceThe AdamInstance class represents an AD LDS instance server.
Public classAdamInstanceCollectionThe AdamInstanceCollection class is a read-only collection that contains AdamInstance objects.
Public classAdamRoleCollectionThe AdamRoleCollection class is a read-only collection that contains AdamRole items.
Public classApplicationPartitionThe ApplicationPartition class represents an application partition for a particular domain.
Public classApplicationPartitionCollectionThe ApplicationPartitionCollection class is a read-only collection that contains ApplicationPartition objects.
Public classAttributeMetadataThe AttributeMetadata class is used to contain replication metadata for an Active Directory Domain Services attribute.
Public classAttributeMetadataCollectionA read-only collection that contains ApplicationPartition objects.
Public classConfigurationSetThe ConfigurationSet class represents a configuration set for one or more AD LDS instances.
Public classDirectoryContextThe DirectoryContext class identifies a specific directory and the credentials that are used to access the directory.
Public classDirectoryServerThe DirectoryServer class is an abstract class that represents an Active Directory Domain Services server or AD LDS instance.
Public classDirectoryServerCollectionThe DirectoryServerCollection class is a read/write collection that contains DirectoryServer objects.
Public classDomainThe Domain class represents an Active Directory domain.
Public classDomainCollectionThe DomainCollection class is a read-only collection that contains Domain objects.
Public classDomainControllerThe DomainController class represents a domain controller in an Active Directory domain.
Public classDomainControllerCollectionThe DomainControllerCollection class is a read-only collection that contains DomainController objects.
Public classForestThe Forest class represents an Active Directory Domain Services forest.
Public classForestTrustCollisionExceptionThe ForestTrustCollisionException class exception is thrown when a trust collision occurs during a trust relationship management request.
Public classForestTrustDomainInfoCollectionThe ForestTrustDomainInfoCollection class is a read-only collection that contains ForestTrustDomainInformation objects.
Public classForestTrustDomainInformationThe ForestTrustDomainInformation class contains information about a Domain object and is contained in a ForestTrustDomainInfoCollection object.
Public classForestTrustRelationshipCollisionRepresents a collision record resulting from a collision between forest trust records.
Public classForestTrustRelationshipCollisionCollectionThe ForestTrustRelationshipCollisionCollection class is a read-only collection that contains ForestTrustRelationshipCollision objects.
Public classForestTrustRelationshipInformationThe ForestTrustRelationshipInformation class contains information about a trust relationship between two Forest objects.
Public classGlobalCatalogThe GlobalCatalog class represents a global catalog server. A global catalog server is a domain controller that hosts a replica of the global catalog.
Public classGlobalCatalogCollectionThe GlobalCatalogCollection class is a read-only collection that contains GlobalCatalog objects.
Public classReadOnlyActiveDirectorySchemaClassCollectionThe ReadOnlyActiveDirectorySchemaClassCollection class is a read-only collection that contains ActiveDirectorySchemaClass objects.
Public classReadOnlyActiveDirectorySchemaPropertyCollectionThe ReadOnlyActiveDirectorySchemaPropertyCollection class is a read-only collection that contains ActiveDirectorySchemaProperty objects.
Public classReadOnlyDirectoryServerCollectionThe ReadOnlyDirectoryServerCollection class is a read-only collection that contains DirectoryServer objects.
Public classReadOnlySiteCollectionThe ReadOnlySiteCollection class is a read-only collection of ActiveDirectorySite objects.
Public classReadOnlySiteLinkBridgeCollectionThe ReadOnlySiteLinkBridgeCollection class is a read-only collection that contains ActiveDirectorySiteLinkBridge objects.
Public classReadOnlySiteLinkCollectionThe ReadOnlySiteLinkCollection class is a read-only collection that contains ActiveDirectorySiteLink objects.
Public classReadOnlyStringCollectionThe ReadOnlyStringCollection class is a read-only collection that contains String objects.
Public classReplicationConnectionThe ReplicationConnection class represents a replication connection.
Public classReplicationConnectionCollectionThe ReplicationConnectionCollection class is a read-only collection of ReplicationConnection objects.
Public classReplicationCursorThe ReplicationCursor class represents a replication operation occurrence.
Public classReplicationCursorCollectionThe ReplicationCursorCollection class is a read-only collection that contains ReplicationCursor objects.
Public classReplicationFailureContains information about a failed replication attempt.
Public classReplicationFailureCollectionThe ReplicationFailureCollection class is a read-only collection that contains ReplicationFailure objects.
Public classReplicationNeighborThe ReplicationNeighbor class contains information about a replication neighbor of an AdamInstance or DomainController object.
Public classReplicationNeighborCollectionThe ReplicationNeighborCollection class is a read-only collection that contains ReplicationNeighbor objects.
Public classReplicationOperationThe ReplicationOperation class represents an Active Directory Domain Services replication operation.
Public classReplicationOperationCollectionThe ReplicationOperationCollection class is a read-only collection that contains ReplicationOperation objects.
Public classReplicationOperationInformationThe ReplicationOperationInformation class contains information about an Active Directory Domain Services replication operation.
Public classSyncFromAllServersErrorInformationContains information about a SyncFromAllServersOperationException exception.
Public classSyncFromAllServersOperationExceptionThe SyncFromAllServersOperationException exception is thrown when the request to synchronize from all servers fails.
Public classTopLevelNameContains forest trust account information about a top-level domain in a Forest.
Public classTopLevelNameCollectionThe TopLevelNameCollection class is a read-only collection that contains TopLevelName objects.
Public classTrustRelationshipInformationThe TrustRelationshipInformation class contains information for a trust relationship between a pair of Domain or Forest objects.
Public classTrustRelationshipInformationCollectionThe TrustRelationshipInformationCollection class contains a collection of TrustRelationshipInformation objects.

 DelegateDescription
Public delegateSyncUpdateCallbackReceives event notifications during a replica synchronization.

 EnumerationDescription
Public enumerationActiveDirectoryRoleIdentifies specific roles within a domain.
Public enumerationActiveDirectorySiteOptionsSpecifies the bit identifiers for the ActiveDirectorySite object site options.
Public enumerationActiveDirectorySyntaxSpecifies the data representation (syntax) type of a ActiveDirectorySchemaProperty object.
Public enumerationActiveDirectoryTransportTypeIdentifies the transport type of a replication connection.
Public enumerationAdamRoleIndicates specific roles of a AdamInstance object.
Public enumerationDirectoryContextTypeSpecifies the context type for an DirectoryContext object.
Public enumerationDomainCollisionOptionsSpecifies additional information about a forest trust collision when the CollisionType property value is Domain.
Public enumerationDomainModeIndicates the mode that a domain is operating in.
Public enumerationForestModeIndicates the mode in which a Forest is operating.
Public enumerationForestTrustCollisionTypeSpecifies the collision type of a ForestTrustRelationshipCollision object.
Public enumerationForestTrustDomainStatusIndicates the status of a forest trust relationship.
Public enumerationHourOfDayIndicates the hour of the day.
Public enumerationLocatorOptionsSpecifies search flags for finding a domain controller in a domain.
Public enumerationMinuteOfHourIndicates the 15-minute intervals within an hour.
Public enumerationNotificationStatusRepresents the notification status of a replication connection.
Public enumerationPropertyTypesSpecifies the property types to select when calling the ActiveDirectorySchema.FindAllProperties(PropertyTypes) method.
Public enumerationReplicationNeighbor.ReplicationNeighborOptionsSpecifies the options for a ReplicationNeighbor object.
Public enumerationReplicationOperationTypeIndicates a specific type of replication operation.
Public enumerationReplicationSecurityLevelSpecifies the Active Directory Lightweight Directory (AD LDS) Services replication authentication mode.
Public enumerationReplicationSpanDetermines the span of a replication connection.
Public enumerationSchemaClassType Specifies the class type of an ActiveDirectorySchemaClass object.
Public enumerationSyncFromAllServersErrorCategoryContains information about a SyncFromAllServersOperationException.
Public enumerationSyncFromAllServersEventUsed in the SyncUpdateCallback delegate to specify the type of synchronization event.
Public enumerationSyncFromAllServersOptionsSpecifies additional options when performing a synchronization.
Public enumerationTopLevelNameCollisionOptionsSpecifies additional information about a forest trust collision when the CollisionType property value is TopLevelName.
Public enumerationTopLevelNameStatusIndicates the forest trust account status of a top-level domain in a forest.
Public enumerationTrustDirectionIndicates the direction of a trust.
Public enumerationTrustTypeIndicates the type of a TrustRelationshipInformation object.

Community Additions

ADD
Show:
© 2014 Microsoft