Platform SDK: Fax Services

IFaxServer::put_ArchiveOutboundFaxes

The IFaxServer::put_ArchiveOutboundFaxes method changes the ArchiveOutboundFaxes property for a FaxServer object. The ArchiveOutboundFaxes property is a Boolean value that indicates whether the fax server archives outgoing fax transmissions.

Visual Basic Reference

HRESULT put_ArchiveOutboundFaxes(
  BOOL newVal  // new value for archive outgoing fax flag
);

Parameters

newVal
[in] Specifies the new value to assign to the ArchiveOutboundFaxes property. If this parameter is equal to TRUE, the server archives outgoing transmissions in the directory specified by the ArchiveDirectory property.

Return Values

Returns an HRESULT value indicating success or failure. If the method succeeds, it returns S_OK. Otherwise, it returns a COM-defined error code.

You should not check directly for success or failure. Use the COM SUCCEEDED and FAILED macros instead.

Remarks

The fax server ignores this property unless the ArchiveDirectory property is specified.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in faxcom.h.
  Import Library: Included as a resource in faxcom.dll.

See Also

Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces, IFaxServer, IFaxServer::get_ArchiveOutboundFaxes, IFaxServer::get_ArchiveDirectory, IFaxServer::put_ArchiveDirectory