FaxOutboundRoutingRules.Remove method

The Remove method removes an outbound routing rule (FaxOutboundRoutingRule object) from the FaxOutboundRoutingRules collection using the routing rule's index.

Syntax

FaxOutboundRoutingRules.Remove( _
  ByVal lIndex As Long _
) As Long

Parameters

lIndex

Type: Long

A Long value that specifies the index of the outbound routing rule to remove from the collection. Valid values for this parameter are in the range from 1 to n, where n is the number of rules returned by a call to the Count method.

Remarks

The default outbound routing rule cannot be removed.

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

Requirements

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

See also

Visual Basic Example

FaxOutboundRoutingRules

IFaxOutboundRoutingRules