ISmsMessage::GetPropertyByName 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
The ISmsMessage::GetPropertyByName method, in Configuration Manager, gets a named property value.
[IDL]
HRESULT GetPropertyByName(
LPCWSTR szPropName,
LPWSTR* pszValue
);
Parameters
szPropName
Data type: LPCWSTRQualifiers: [in]
Null-terminated string containing the message property name.
pszValue
Data type: LPWSTRQualifiers: [out]
Pointer to the value of the named property. The caller must free the memory using CoTaskMemFree.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
The method succeeded.