Export (0) Print
Expand All

AdamInstance Class

The AdamInstance class represents an AD LDS instance server.

System.Object
  System.DirectoryServices.ActiveDirectory.DirectoryServer
    System.DirectoryServices.ActiveDirectory.AdamInstance

Namespace:  System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public class AdamInstance : DirectoryServer

The AdamInstance type exposes the following members.

  NameDescription
Public propertyConfigurationSetGets the ConfigurationSet object for this AD LDS instance.
Public propertyDefaultPartitionGets or sets the default partition that this AD LDS instance serves.
Public propertyHostNameGets the host name of the computer that hosts this AD LDS instance.
Public propertyInboundConnectionsGets the inbound replication connections for this AD LDS instance. (Overrides DirectoryServer.InboundConnections.)
Public propertyIPAddressGets the IP address of the computer that hosts this AD LDS instance. (Overrides DirectoryServer.IPAddress.)
Public propertyLdapPortGets the LDAP port number of this AD LDS instance.
Public propertyNameGets the name of the directory server. (Inherited from DirectoryServer.)
Public propertyOutboundConnectionsGets the outbound replication connections for this AD LDS instance. (Overrides DirectoryServer.OutboundConnections.)
Public propertyPartitionsGets the partitions on this directory server. (Inherited from DirectoryServer.)
Public propertyRolesGets the roles that this AD LDS instance holds.
Public propertySiteNameGets the name of the site of which this AD LDS instance is a member. (Overrides DirectoryServer.SiteName.)
Public propertySslPortGets the SSL port number of this AD LDS instance.
Public propertySyncFromAllServersCallbackGets or sets the synchronization delegate for this AD LDS instance. (Overrides DirectoryServer.SyncFromAllServersCallback.)
Top

  NameDescription
Public methodCheckReplicationConsistencyInvokes the Knowledge Consistency Checker (KCC) that verifies the replication topology for this AD LDS instance. (Overrides DirectoryServer.CheckReplicationConsistency().)
Public methodDispose()Releases all managed and unmanaged resources that are used by the object. (Inherited from DirectoryServer.)
Protected methodDispose(Boolean)Releases the unmanaged resources that are used by the AdamInstance object and, optionally, releases managed resources. (Overrides DirectoryServer.Dispose(Boolean).)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeOverrides the Object.Finalize method. (Overrides DirectoryServer.Finalize().)
Public methodStatic memberFindAllFinds all AD LDS instances in the specified context that host the specified partition.
Public methodStatic memberFindOneFinds a single AD LDS instance in the specified context that hosts the specified partition.
Public methodStatic memberGetAdamInstanceReturns an AD LDS instance for a specified context.
Public methodGetAllReplicationNeighborsReturns the replication neighbors for this AD LDS instance. (Overrides DirectoryServer.GetAllReplicationNeighbors().)
Public methodGetDirectoryEntryRetrieves a DirectoryEntry object that represents the directory server. (Inherited from DirectoryServer.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetReplicationConnectionFailuresReturns a list of replication connection failures that are recorded by this AD LDS instance. (Overrides DirectoryServer.GetReplicationConnectionFailures().)
Public methodGetReplicationCursorsReturns the replication cursor information for a specified partition. (Overrides DirectoryServer.GetReplicationCursors(String).)
Public methodGetReplicationMetadataReturns the replication metadata for a specific Active Directory Domain Services object. (Overrides DirectoryServer.GetReplicationMetadata(String).)
Public methodGetReplicationNeighborsReturns the replication neighbors for a specified partition. (Overrides DirectoryServer.GetReplicationNeighbors(String).)
Public methodGetReplicationOperationInformationReturns the current and pending replication operations for this AD LDS instance. (Overrides DirectoryServer.GetReplicationOperationInformation().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
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 methodSaveCommits changes to the AdamInstance object to the underlying directory store.
Public methodSeizeRoleOwnershipSeizes ownership of the specified role.
Public methodSyncReplicaFromAllServersSynchronizes the specified partition with all other domain controllers. (Overrides DirectoryServer.SyncReplicaFromAllServers(String, SyncFromAllServersOptions).)
Public methodSyncReplicaFromServerSynchronizes the specified partition with the specified domain controller. (Overrides DirectoryServer.SyncReplicaFromServer(String, String).)
Public methodToStringRetrieves the name of the directory server. (Inherited from DirectoryServer.)
Public methodTransferRoleOwnershipTransfers the specified role to this AD LDS instance.
Public methodTriggerSyncReplicaFromNeighborsBegins a synchronization of the specified partition. (Overrides DirectoryServer.TriggerSyncReplicaFromNeighbors(String).)
Top

NoteNote

The AdamInstance class refers to Active Directory Application Mode (ADAM) which has been renamed to Active Directory Lightweight Directory Services (AD LDS).

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Show:
© 2014 Microsoft