API Reference
BenchmarkHostFacts
Captures immutable target facts used for benchmark applicability.
Inheritance
- Object
- BenchmarkHostFacts
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property BenchmarkAssessment.Host
- Property BenchmarkExecutionTargetContext.Host
- Method BenchmarkHostFacts.Collect
- Property BenchmarkApplyRequest.Host
- Property BenchmarkBackupRequest.Host
Accepted by parameters
- Method BenchmarkAssessmentEngine.Assess
- Method BenchmarkAssessmentEngine.Assess
- Method BenchmarkAssessmentEngine.Assess
- Method BenchmarkAssessmentEngine.Assess
- Method BenchmarkAssessmentEngine.Assess
- Method ComputerXBenchmarkCheckReader.Read
- Method IBenchmarkCheckReader.Read
- Method BenchmarkPolicyResolver.Resolve
- Method BenchmarkProviderRegistry.Read
- Method BenchmarkProviderRegistry.Read
- Method BenchmarkProviderRegistry.ReadCaptured
- Method BenchmarkProviderRegistry.ReadCaptured
- Method ComputerXBenchmarkControlProvider.Read
- Method ComputerXBenchmarkControlProvider.ReadCaptured
- Method ExchangeBenchmarkProvider.Read
- Method IBenchmarkCapturedTargetCheckReader.ReadCaptured
- Method IBenchmarkTargetCheckReader.Read
- Method IisBenchmarkProvider.Read
- Method SqlServerBenchmarkProvider.Read
- Method BenchmarkTransactionEngine.Preview
- Method BenchmarkTransactionEngine.Preview
- Method BenchmarkTransactionEngine.Preview
- Method BenchmarkTransactionEngine.Undo
- Method BenchmarkTransactionEngine.Undo
- Method ComputerXBenchmarkCheckWriter.Read
- Method ComputerXBenchmarkCheckWriter.ReadCaptured
- Method IBenchmarkCapturedCheckWriter.ReadCaptured
Constructors
public BenchmarkHostFacts() #Methods
public static BenchmarkHostFacts Collect(String computerName, Boolean collectInstalledFeatures = false, IEnumerable<BenchmarkWorkloadRole> workloadRoles = null) #BenchmarkHostFactsCreates benchmark facts from the shared ComputerX fact provider.
Parameters
- computerName System.String
- Target computer name or null for the local computer.
- collectInstalledFeatures System.Boolean = false
- Whether to collect installed feature identities for role-aware applicability.
- workloadRoles System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkWorkloadRole} = null
- Optional authoritative workload declarations from the operator or inventory provider.
public CxFacts ToComputerXFacts() #CxFactsConverts benchmark facts into the ComputerX control fact contract.
Inherited Methods
Properties
public String ComputerName { get; set; } #Gets or sets the evaluated computer name.
public String OsFamily { get; set; } #Gets or sets the operating-system family.
public String OsVersion { get; set; } #Gets or sets the operating-system version.
public Nullable<Int32> OsBuild { get; set; } #Gets or sets the parsed Windows build number.
public Boolean IsDomainController { get; set; } #Gets or sets whether the target is a domain controller.
public Boolean IsServerCore { get; set; } #Gets or sets whether the target is Server Core.
public String Edition { get; set; } #Gets or sets the operating-system edition or caption.
public BenchmarkTargetRole TargetRole { get; set; } #Gets or sets the inferred Windows host role.
public HashSet<String> InstalledFeatures { get; set; } #Gets or sets installed Windows feature names when collected.
public Boolean InstalledFeaturesCollected { get; set; } #Gets or sets whether installed Windows features were collected successfully.
public String InstalledFeaturesError { get; set; } #Gets or sets the installed-feature collection error when collection was requested but failed.
public HashSet<BenchmarkWorkloadRole> WorkloadRoles { get; set; } #Gets or sets workload roles explicitly declared for this target.
public Boolean WorkloadRolesDeclared { get; set; } #Gets or sets whether workload-role declarations were supplied by an operator or inventory provider.