API Reference
Interface
IComputersSnapshotProvider
Optional provider that can supply computer datasets from a local snapshot instead of querying LDAP. Implementations should return false when the request cannot be satisfied.
Methods
public abstract Boolean TryGetComputers(ComputerQueryOptions options, CancellationToken cancellationToken, out IReadOnlyList<ComputerRecord> computers) #Returns:
BooleanAttempts to satisfy the given computer query from a local snapshot. Return false to fall back to LDAP when the request cannot be served (e.g., requires attributes not present in the snapshot).
Parameters
- options ADPlayground.ComputerQueryOptions
- Query options (domains, property set, filters).
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
- computers System.Collections.Generic.IReadOnlyList{ADPlayground.ComputerRecord}@
- Resulting computers when available.
Returns
True when served from snapshot; false to fall back to LDAP.