Share via


ISmsMessageAttachment::GetName 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 ISmsMessageAttachment::GetName method, in Configuration Manager, gets the name of the message attachment.

[IDL]
HRESULT GetName(
      LPWSTR* pszName
);

Parameters

  • pszName
    Data type: LPWSTR

    Qualifiers: [out]

    Pointer to a null-terminated string specifying the name of the attachment. The caller must free the memory using CoTaskMemFree.

Return Values

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

  • S_OK
    The method succeeded.

Remarks

See Also

Concepts

ISmsMessageAttachment Interface