API Reference
Class
DomainStatisticsService
Provides helpers to build domain-level statistics snapshots.
Inheritance
- Object
- DomainStatisticsService
Methods
GetSnapshot 2 overloads
public static DomainStatisticsSnapshot GetSnapshot(ActiveDirectoryDataServices data, String domainName, ActiveDirectoryOverview overview = null) #Returns:
DomainStatisticsSnapshotBuilds a DomainStatisticsSnapshot using the supplied data services and an optional precomputed ActiveDirectoryOverview. This overload avoids recomputing the overview when you already have one at hand (e.g., in a larger assessment pipeline).
Parameters
- data ADPlayground.ActiveDirectoryDataServices
- Data access facade used to query AD.
- domainName System.String
- DNS domain name to summarize.
- overview ADPlayground.ActiveDirectoryOverview = null
- Optional forest/domain overview to reuse.
Returns
Materialized snapshot with functional levels, counts and recommendations.
public static DomainStatisticsSnapshot GetSnapshot(String domainName) #Returns:
DomainStatisticsSnapshotBuilds a DomainStatisticsSnapshot by querying the local environment for functional level, domain controller inventory and object counts. This is the convenient entry point when no overview is available.
Parameters
- domainName System.String
- DNS domain name to summarize.
Returns
Materialized snapshot with functional levels, counts and recommendations.