IFaxInboundRoutingMethod::put_Priority method (faxcomex.h)

The Priority property is a value associated with the order in which the fax service calls the routing method when the service receives a fax job.

This property is read/write.

Syntax

HRESULT put_Priority(
  long lPriority
);

Parameters

lPriority

Return value

None

Remarks

Valid values for this property are 1 through n, where 1 is the highest priority.

You should assign a unique priority value to each routing method. After you call the IFaxInboundRoutingMethod::Save method, the fax service sorts the routing methods by priority. If two routing methods have the same priority, the fax service will choose which will have a higher priority.

If you want a particular routing method to have the lowest possible priority, specify a very large value, such as 999999, and then call the IFaxInboundRoutingMethod::Save method.

To read or to write to this property, a user must have the farQUERY_CONFIG access right.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

FaxInboundRoutingMethod

IFaxInboundRoutingMethod

Visual Basic Example