API Reference
INetlogonSiteCoverageChecker
Provides methods for retrieving Netlogon site coverage configuration.
Methods
public abstract IReadOnlyList<String> GetGcSiteCoverage(String dcName) #IReadOnlyList<String>Retrieves the list of sites for which the domain controller provides Global Catalog coverage.
Parameters
- dcName System.String
- Domain controller name.
Returns
List of site names.
public abstract Nullable<DateTime> GetLastRefreshTime(String dcName) #Nullable<DateTime>Retrieves the last time the domain controller refreshed its site coverage configuration.
Parameters
- dcName System.String
- Domain controller name.
Returns
Refresh timestamp or null if unavailable.
public abstract NetlogonOptions GetOptions(String dcName) #NetlogonOptionsGets the Netlogon options for the specified domain controller.
Parameters
- dcName System.String
- Domain controller name.
Returns
Netlogon option flags.
public abstract IReadOnlyList<String> GetSiteCoverage(String dcName) #IReadOnlyList<String>Retrieves the list of sites for which the domain controller provides coverage.
Parameters
- dcName System.String
- Domain controller name.
Returns
List of site names.
public abstract NetlogonSiteCoverageStatus GetStatus(String dcName) #NetlogonSiteCoverageStatusGets the overall site coverage status for the specified domain controller.
Parameters
- dcName System.String
- Domain controller name.
Returns
Status information.
public abstract IEnumerable<NetlogonSiteCoverageStatus> GetStatusReport() #IEnumerable<NetlogonSiteCoverageStatus>Retrieves site coverage status for all discovered domain controllers.
Returns
Enumeration of site coverage statuses.
public abstract Nullable<Boolean> IsAutoSiteCoverageEnabled(String dcName) #Nullable<Boolean>Determines whether automatic site coverage is enabled on the specified domain controller.
Parameters
- dcName System.String
- Domain controller name.
Returns
true if enabled, false if disabled, or null if unknown.
public abstract Void ValidateAll() #VoidValidates site coverage settings on all discovered domain controllers.
public abstract Void ValidateDc(String dcName) #VoidValidates site coverage settings on the specified domain controller and logs warnings for issues.
Parameters
- dcName System.String
- Domain controller name.