The ISmsMesssaging::CreateMessage method, in Configuration Manager, creates a new message object implementing ISmsMessage Interface.

HRESULT CreateMessage(
	ISmsMessage** ppMessage



Data type: ISmsMessageQualifiers: [out]Pointer to the newly created message object.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:


The method succeeded.


After creating a message object by using this method, your application can set the appropriate properties on it using the ISmsMessage Interface interface. The message can then be sent using either ISmsMessaging::Invoke Method or ISmsMessaging::Post Method.

See Also

Other Resources

ISmsMessaging Interface

Send comments about this topic to Microsoft.