共用方式為


HealthInformation.Property Property

Definition

Gets the property of the health report.

public string Property { get; }
member this.Property : string
Public ReadOnly Property Property As String

Property Value

The property of the health report. Together with the SourceId, it uniquely identifies the health information.

Remarks

The property is a String and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report. For example, a reporter with SourceId "A" can monitor the state of the available disk on a node, so it can report "AvailableDisk" property on that node. A reporter with SourceId "B" can monitor the node connectivity, so it can report a property "Connectivity" on the same node. In the health store, these reports are treated as separate health events for the specified node.

Applies to