ICCMEvent::SetProperty Method
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
In Configuration Manager, the ICcmEvent::SetProperty method sets an event property.
[C++]
HRESULT ICcmEvent::SetProperty
(
BSTR sPropName,
VARIANT* vPropValue
);
Parameters
sPropName
Data type: BSTRQualifiers: [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: VARIANTQualifiers: [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 ICCMEvent::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.