TestimoX

API Reference

Class

LdapEngineHostPolicy

Namespace ADPlayground.LdapEngine
Assembly ADPlayground
Modifiers static

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: Boolean

Returns true when the host is allowed by the current include/exclude policy.

Parameters

host System.String requiredposition: 0
public static Void Set(IEnumerable<String> include, IEnumerable<String> exclude, Nullable<Int32> attemptTimeoutMs = null) #
Returns: Void

Sets host allow/deny lists and an optional per-attempt timeout budget used by the engine.

Parameters

include System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
Hosts allowed for queries. When empty, all hosts are allowed (except those in exclude).
exclude System.Collections.Generic.IEnumerable{System.String} requiredposition: 1
Hosts that must never be queried.
attemptTimeoutMs System.Nullable{System.Int32} = null optionalposition: 2
Optional per-attempt timeout (ms) used by engine pre-probes.
public static Void SetAttemptTimeoutMs(Nullable<Int32> attemptTimeoutMs) #
Returns: Void

Updates 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} requiredposition: 0

Properties

public static Nullable<Int32> AttemptTimeoutMs { get; } #

Gets the configured per-attempt timeout (ms) or null when defaulting.