Platform SDK: Fax Services

FaxJobs Object (Visual Basic)

The FaxJobs object represents a collection of FaxJob objects. The FaxJobs object permits a fax client Visual Basic application to enumerate the fax jobs associated with a connected fax server, and to create FaxJob objects for fax jobs. There is one FaxJob object for each queued job associated with the server.

The FaxJobs object has the following properties:

When to Implement

You should not implement this class. The Microsoft standard implementation provides complete functionality. You can use the Visual Basic Object Browser to view the FaxJobs object's type library information in Visual Basic syntax.

To create a FaxJobs object

  1. Call the Visual Basic CreateObject function to create a FaxServer object.
  2. Call the GetJobs method of the FaxServer object to create a FaxJobs object on the connected fax server.

Following is a list of the Visual Basic properties of FaxJobs objects.

Property Visual Basic Example
Item
LONG
Read-only
 
Creates a FaxJob object for a specified fax job. Valid values for this property are in the range from 1 to n, where n is the number of FaxJob objects returned by a call to the Count property.

Dim Job As Object
Dim lCount As Long
Job = Jobs.GetItem(lCount)
Count
LONG
Read-only
 
Number of queued fax jobs associated with the connected fax server.

Dim lCount As Long
lCount = objFaxJobs.Count