Partager via


ISmsMessaging::CreateMessage 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 ISmsMesssaging::CreateMessage method, in Configuration Manager, creates a new message object implementing ISmsMessage Interface.

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

Parameters

  • ppMessage
    Data type: ISmsMessage

    Qualifiers: [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

Concepts

ISmsMessaging Interface