Share via


MSFT_GatewayHealthEvent class

Gateway health event notifications.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), Indication, dynamic, provider("GatewayHealthMonitorProvider"), AMENDMENT]
class MSFT_GatewayHealthEvent
{
  string                    Id;
  boolean                   HealthStatus;
  MSFT_GatewayHealthContext Values[];
};

Members

The MSFT_GatewayHealthEvent class has these types of members:

Properties

The MSFT_GatewayHealthEvent class has these properties.

HealthStatus

Data type: boolean

Access type: Read-only

The health status of the gateway on the host. 0 - Unhealthy, 1- Healthy

Id

Data type: string

Access type: Read-only

Specifies the identifier for the event. For now we pass null

Values

Data type: MSFT_GatewayHealthContext array

Access type: Read-only

Qualifiers: EmbeddedInstance ("MSFT_GatewayHealthContext")

Contains an array of instances of the MSFT_GatewayHealthContext class that represent the context of the event.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\RemoteAccess\GatewayHealthMonitor
MOF
GatewayHealthMonitorProvider.mof
DLL
GatewayHealthMonitorProvider.dll