API Reference
Class
ActiveDirectoryReplication
Helper class for querying Active Directory replication information.
Inheritance
- Object
- ActiveDirectoryReplication
Remarks
Use this helper when diagnostic replication status queries are required.
Constructors
public ActiveDirectoryReplication() #Methods
public static IList<ReplicationNeighborInfo> GetDSReplica(String serverName = null, NetworkCredential credential = null, String namingContext = null, Boolean outbound = false) #Returns:
IList<ReplicationNeighborInfo>Retrieves replication neighbours from a specific domain controller. When serverName is null the current domain controller is used.
Parameters
- serverName System.String = null
- Optional domain controller name.
- credential System.Net.NetworkCredential = null
- Optional alternate credential for LDAP/SDA access.
- namingContext System.String = null
- Optional naming context filter for DRSR neighbor query.
- outbound System.Boolean = false
- When true, returns outbound (reps-to) neighbors instead of inbound.
Returns
Collection of ReplicationNeighborInfo objects.