API Reference
Class
LdapEngineHostPolicy
Optional host policy for LDAP engine DC selection. Hosts (e.g., TestimoX) can set include/exclude lists so that query routing never considers banned names. Defaults allow all.
Inheritance
- Object
- LdapEngineHostPolicy
Methods
public static Boolean IsAllowed(String host) #Returns:
BooleanReturns true when the host is allowed by the current include/exclude policy.
Parameters
- host System.String
public static Void Set(IEnumerable<String> include, IEnumerable<String> exclude, Nullable<Int32> attemptTimeoutMs = null) #Returns:
VoidSets host allow/deny lists and an optional per-attempt timeout budget used by the engine.
Parameters
- include System.Collections.Generic.IEnumerable{System.String}
- Hosts allowed for queries. When empty, all hosts are allowed (except those in exclude).
- exclude System.Collections.Generic.IEnumerable{System.String}
- Hosts that must never be queried.
- attemptTimeoutMs System.Nullable{System.Int32} = null
- Optional per-attempt timeout (ms) used by engine pre-probes.
public static Void SetAttemptTimeoutMs(Nullable<Int32> attemptTimeoutMs) #Returns:
VoidUpdates only the per-attempt timeout budget (milliseconds) used by engine pre-probes, without changing current include/exclude host lists.
Parameters
- attemptTimeoutMs System.Nullable{System.Int32}
Inherited Methods
Properties
public static Nullable<Int32> AttemptTimeoutMs { get; } #Gets the configured per-attempt timeout (ms) or null when defaulting.