API Reference
ReplicationQueryOptions
Options controlling replication data queries (scope, credentials, and targets).
Inheritance
- Object
- ReplicationQueryOptions
Constructors
public ReplicationQueryOptions() #Inherited Methods
Properties
public String Domain { get; set; } #Optional domain DNS name to scope the query; null for all domains.
public String ForestName { get; set; } #Optional forest DNS name to scope forest-wide enumeration when Domain is null.
public Boolean Outbound { get; set; } #Return outbound neighbors instead of inbound.
public Boolean FailuresOnly { get; set; } #Include only failures.
public Int32 StaleDaysRaw { get; set; } #Minimum staleness (days) for raw neighbors; 0 disables the filter.
public String Transport { get; set; } #Transport filter: Any/Rpc/Smtp.
public Nullable<PartitionKind> Partition { get; set; } #Partition filter.
public IEnumerable<String> Neighbor { get; set; } #Neighbor exact match list.
public IEnumerable<String> NeighborMatch { get; set; } #Neighbor wildcard patterns (*,?).
public Boolean IncludeEventLogs { get; set; } #Include replication event log analytics.
public NetworkCredential Credential { get; set; } #Optional alternate credential for replication queries.
public IEnumerable<String> DomainControllers { get; set; } #Optional explicit list of domain controllers to query. When provided, automatic discovery is skipped except for PreferredDomainController.
public Int32 MaxDomainControllers { get; set; } #Optional safety cap for automatic domain controller enumeration. When set to a value greater than 0, replication queries stop enumerating additional targets after this many unique DCs are yielded.
public String PreferredDomainController { get; set; } #Optional preferred domain controller to use for first contact when serverless binding is needed.
public String NamingContextFilter { get; set; } #Optional naming context filter (for targeted DRSR neighbor calls).
public ReplicationQueryMode QueryMode { get; set; } #Selects the replication data source. Auto attempts DRSR first, then SDA when allowed.
public TimeSpan AccessDeniedCooldown { get; set; } #Cooldown applied after access denied responses to avoid repeated permission hammering. Set to Zero to disable.
public TimeSpan AuthenticationFailureCooldown { get; set; } #Cooldown applied after authentication failures to avoid repeated invalid credential attempts. Set to Zero to disable.
public Boolean AllowLdapFallback { get; set; } #When true (default), fall back to LDAP site scan enumeration if SDA discovery fails (helps low-permission/ workgroup agents).
public Boolean AdjustDrsrFutureSkew { get; set; } #When true (default), adjust DRSR timestamps that appear to be encoded in local time.
public Boolean LogDrsrFutureSkewAdjustments { get; set; } #When true, log debug entries when DRSR timestamps are adjusted.
public CancellationToken CancellationToken { get; set; } #Optional cancellation token to stop long-running enumeration.