ComplianceResult
Record in Oadm.Sdk.Compliance · Oadm.Sdk.dll
What a check type found on one device, with a short text for the page (“Object Analytics is stopped”).
public sealed record ComplianceResult(ComplianceOutcome Outcome, string Detail)Parameters
Outcome: Passed, failed, not applicable or could not check.Detail: One short line; the tooltip of the result. At most 1,000 characters are kept.
Properties
Section titled “Properties”Detail
Section titled “Detail”string Detail { get; init; }One short line; the tooltip of the result. At most 1,000 characters are kept.
Outcome
Section titled “Outcome”ComplianceOutcome Outcome { get; init; }Passed, failed, not applicable or could not check.
Methods
Section titled “Methods”CouldNotCheck
Section titled “CouldNotCheck”static ComplianceResult CouldNotCheck(string reason)A read failed; the reason is shown.
Failed
Section titled “Failed”static ComplianceResult Failed(string detail)The device does not meet the check.
NotApplicable
Section titled “NotApplicable”static ComplianceResult NotApplicable(string reason)The check does not apply to the device.
Passed
Section titled “Passed”static ComplianceResult Passed(string detail = "")The device meets the check.