Partager via


FaxAccountIncomingArchive.GetMessage method

Returns a fax message from the archive of inbound faxes, for a particular fax account, by using the fax message ID.

Syntax

FaxAccountIncomingArchive.GetMessage( _
  ByVal bstrMessageId As String _
) As IFaxIncomingMessage2

Parameters

bstrMessageId [in]

Type: String

Specifies a null-terminated string that contains the message ID of the fax to retrieve from the archive of inbound faxes.

Return value

Type: IFaxIncomingMessage2**

An IFaxIncomingMessage2 object.

Remarks

To use this method, a user must have the far2QUERY_ARCHIVES access right.

If the setting 'All incoming faxes are viewable by everyone' is true (see IncomingFaxesArePublic) or if far2MANAGE_RECEIVE_FOLDER access rights, then the fax service searches all faxes in the Incoming archive of the Fax Server Receive Folder.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
FaxComex.h
DLL
Fxscomex.dll

See also

FaxAccountIncomingArchive

IFaxAccountIncomingArchive