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.

See Also

Other Resources

ISmsMessage Interface


Send comments about this topic to Microsoft.