Partager via


ResultTrue Element

Specifies the status value and detail information to be displayed if the health check returns True.

<xs:element minOccurs="0" name="ResultTrue">
  <xs:complexType>
    <xs:attribute name="Status" use="required" type="xs:string"/>
    <xs:attribute name="Detail" use="required" type="xs:string"/>
  </xs:complexType>
</xs:element>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

Status

Required string attribute.

Specifies the status level that will be displayed for the security component. Acceptable values are OK, Warning, Critical, NotInstalled, and NotApplicable.

Detail

Required string attribute.

Specifies the detail information about the health status that is displayed for the security component.

Child Elements

None.

Parent Elements

Element Description

HealthCheck Element

Specifies the PowerShell script or user-defined object that will be used to check the health status of a security component.

Remarks

The XML file that uses this element is not validated against an .xsd file, it is used by internal classes to add security component data to the Windows SBS Console.

See Also

Concepts

Security Add-in XML Schema Reference
Walkthrough: Creating a Security Add-in Using XML and PowerShell
Walkthrough: Creating a Security Add-in Using XML and C#