This topic has not yet been rated - Rate this topic

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.

  Name Description
Public property ConfigurationSet Gets the ConfigurationSet object for this AD LDS instance.
Public property DefaultPartition Gets or sets the default partition that this AD LDS instance serves.
Public property HostName Gets the host name of the computer that hosts this AD LDS instance.
Public property InboundConnections Gets the inbound replication connections for this AD LDS instance. (Overrides DirectoryServer.InboundConnections.)
Public property IPAddress Gets the IP address of the computer that hosts this AD LDS instance. (Overrides DirectoryServer.IPAddress.)
Public property LdapPort Gets the LDAP port number of this AD LDS instance.
Public property Name Gets the name of the directory server. (Inherited from DirectoryServer.)
Public property OutboundConnections Gets the outbound replication connections for this AD LDS instance. (Overrides DirectoryServer.OutboundConnections.)
Public property Partitions Gets the partitions on this directory server. (Inherited from DirectoryServer.)
Public property Roles Gets the roles that this AD LDS instance holds.
Public property SiteName Gets the name of the site of which this AD LDS instance is a member. (Overrides DirectoryServer.SiteName.)
Public property SslPort Gets the SSL port number of this AD LDS instance.
Public property SyncFromAllServersCallback Gets or sets the synchronization delegate for this AD LDS instance. (Overrides DirectoryServer.SyncFromAllServersCallback.)
Top
  Name Description
Public method CheckReplicationConsistency Invokes the Knowledge Consistency Checker (KCC) that verifies the replication topology for this AD LDS instance. (Overrides DirectoryServer.CheckReplicationConsistency().)
Public method Dispose() Releases all managed and unmanaged resources that are used by the object. (Inherited from DirectoryServer.)
Protected method Dispose(Boolean) Releases the unmanaged resources that are used by the AdamInstance object and, optionally, releases managed resources. (Overrides DirectoryServer.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Overrides the Object.Finalize method. (Overrides DirectoryServer.Finalize().)
Public method Static member FindAll Finds all AD LDS instances in the specified context that host the specified partition.
Public method Static member FindOne Finds a single AD LDS instance in the specified context that hosts the specified partition.
Public method Static member GetAdamInstance Returns an AD LDS instance for a specified context.
Public method GetAllReplicationNeighbors Returns the replication neighbors for this AD LDS instance. (Overrides DirectoryServer.GetAllReplicationNeighbors().)
Public method GetDirectoryEntry Retrieves a DirectoryEntry object that represents the directory server. (Inherited from DirectoryServer.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetReplicationConnectionFailures Returns a list of replication connection failures that are recorded by this AD LDS instance. (Overrides DirectoryServer.GetReplicationConnectionFailures().)
Public method GetReplicationCursors Returns the replication cursor information for a specified partition. (Overrides DirectoryServer.GetReplicationCursors(String).)
Public method GetReplicationMetadata Returns the replication metadata for a specific Active Directory Domain Services object. (Overrides DirectoryServer.GetReplicationMetadata(String).)
Public method GetReplicationNeighbors Returns the replication neighbors for a specified partition. (Overrides DirectoryServer.GetReplicationNeighbors(String).)
Public method GetReplicationOperationInformation Returns the current and pending replication operations for this AD LDS instance. (Overrides DirectoryServer.GetReplicationOperationInformation().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveToAnotherSite Moves the directory server to another site within the forest or configuration set. (Inherited from DirectoryServer.)
Public method Save Commits changes to the AdamInstance object to the underlying directory store.
Public method SeizeRoleOwnership Seizes ownership of the specified role.
Public method SyncReplicaFromAllServers Synchronizes the specified partition with all other domain controllers. (Overrides DirectoryServer.SyncReplicaFromAllServers(String, SyncFromAllServersOptions).)
Public method SyncReplicaFromServer Synchronizes the specified partition with the specified domain controller. (Overrides DirectoryServer.SyncReplicaFromServer(String, String).)
Public method ToString Retrieves the name of the directory server. (Inherited from DirectoryServer.)
Public method TransferRoleOwnership Transfers the specified role to this AD LDS instance.
Public method TriggerSyncReplicaFromNeighbors Begins a synchronization of the specified partition. (Overrides DirectoryServer.TriggerSyncReplicaFromNeighbors(String).)
Top
Note Note

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, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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)
Community Content Add
Annotations FAQ