The ISmsMessageAttachment::CopyToFile method, in Configuration Manager, copies a message attachment to a file.

[IDL]
HRESULT CopyToFile(
	LPCWSTR szPathFileName
);

Parameters

szPathFileName


Data type: LPCWSTRQualifiers: [in]Null-terminated string specifying the name of the file, including the path.

Return Values

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

S_OK


The method succeeded.

Remarks

See Also


Send comments about this topic to Microsoft.