TestimoX

API Reference

Class

SchemaVersionReader

Namespace ADPlayground.DirectoryServices
Assembly ADPlayground

Reads Active Directory schema versions across forest domains.

Inheritance

  • Object
  • SchemaVersionReader

Constructors

public SchemaVersionReader(Func<IEnumerable<String>> domainEnumerator = null, Func<String, Int32> versionFetcher = null, Func<String, ReplicationType> replicationFetcher = null) #

Initializes a new instance of the SchemaVersionReader class.

Parameters

domainEnumerator System.Func{System.Collections.Generic.IEnumerable{System.String}} = null optionalposition: 0
Delegate that enumerates domain names.
versionFetcher System.Func{System.String,System.Int32} = null optionalposition: 1
Delegate that fetches schema version for a domain.
replicationFetcher System.Func{System.String,ADPlayground.Replication.ReplicationType} = null optionalposition: 2
Delegate that determines replication type for a domain.

Methods

public IEnumerable<SchemaVersionInfo> GetSchemaVersions() #
Returns: IEnumerable<SchemaVersionInfo>

Retrieves schema version information for all domains returned by the domain enumerator.

Returns

An enumerable collection of SchemaVersionInfo objects.

public Void ReportMismatches() #
Returns: Void

Emits warnings when schema versions differ across domains.