Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In Configuration Manager, the ICcmEvent::SetProperty method sets an event property.
Syntax
[C++]
HRESULT ICcmEvent::SetProperty
(
BSTR sPropName,
VARIANT* vPropValue
);
Parameters
sPropName
Data type: BSTR
Qualifiers: [in]
Name of the property to set. This must correspond to a property name in the Windows Management Instrumentation (WMI) event class.
vPropValue
Data type: VARIANT
Qualifiers: [in]
Pointer to the new value for the property.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
S_OK The method succeeded.
Remarks
Your application must set the EventType property before calling this method.
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.