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

[IDL]
HRESULT CreateMessage(
	ISmsMessage** ppMessage
);

Parameters

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:

S_OK


The method succeeded.

Remarks

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.