public sealed record DirectoryConnectionOptions : IEquatable<DirectoryConnectionOptions> Explicit directory endpoint and bounded connection behavior. Credentials are supplied separately.
Constructors
DirectoryConnectionOptions
public DirectoryConnectionOptions(string Server) Explicit directory endpoint and bounded connection behavior. Credentials are supplied separately.
Properties
Port
public int Port { get; init; } Port; zero selects 636 for TLS or 389 otherwise.
ReuseConnection
public bool ReuseConnection { get; init; } Whether a WindowsDirectoryClient keeps one bound connection for all its operations.
Remarks
False (the default) opens and binds a connection for each operation. When true, the client binds on its first operation, runs its operations one at a time on that connection, and closes it when the client is disposed. A connection failure closes the connection without retrying the operation; the next operation binds again.
Server
public string Server { get; init; } No documentation.
Timeout
public TimeSpan Timeout { get; init; } Native request timeout, between one second and five minutes.