Share via


ICCMEvent::EventType Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

ICcmEvent::EventType is a read/write property, in Configuration Manager, that indicates the type of Windows Management Instrumentation (WMI) event that is being raised.

[C++]
HRESULT ICcmEvent::EventType([out, retval] BSTR* sEventType);

HRESULT ICcmEvent::EventType([in] BSTR sEventType);

Parameters

  • sEventType
    Data type: BSTR

    Qualifiers: [in, out, retval]

    On input, the value to set for the event type. On output, this parameter points to the retrieved event type.

Return Values

The property returns an HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Remarks

This property must correspond to an ICcmEvent-derived class registered in the root\ccm\events namespace.

Requirements

Smscore.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

SMSEvent Class