ISmsMessage::SetBodyFromFile Method

System Center

Updated: October 28, 2009

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


[IDL]
HRESULT SetBodyFromFile(
      LPCWSTR szFile
);

Parameters

szFile
Data type: LPCWSTR

Qualifiers: [in]

Null-terminated string specifying the file.

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

S_OK
The method succeeded.

Show: