Share via


ISmsMessage::SetBodyFromString 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::SetBodyFromString method, in Configuration Manager, sets the body of the message from a string.

[IDL]
HRESULT SetBodyFromString(
     LPCWSTR szBody
);

Parameters

  • szBody
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated Unicode string specifying the message body.

Return Values

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

  • S_OK
    The method succeeded.

Remarks

The string must be supplied as a Unicode string.

See Also

Concepts

ISmsMessage Interface