API Reference
Interface
IReplicationEventLogAnalyzer
Provides optional event log–based replication analytics, such as computing consecutive failures since last success. Implementations may rely on Directory Service event logs; the default is a no-op.
Methods
public abstract Int32 GetConsecutiveFailures(String destinationServer, String namingContext, String neighborServer, Nullable<DateTime> lastSuccessUtc, CancellationToken cancellationToken) #Returns:
Int32Returns the consecutive failure count for a destination server and neighbor on a given naming context. Implementations should count error events since lastSuccessUtc (if provided).
Parameters
- destinationServer System.String
- Destination DC (inbound replication target).
- namingContext System.String
- Naming context replicated.
- neighborServer System.String
- Source DC (neighbor).
- lastSuccessUtc System.Nullable{System.DateTime}
- Last successful replication time (UTC), if known.
- cancellationToken System.Threading.CancellationToken
- Cancellation token.