Compartilhar via


FaxOutboundRoutingRules.RemoveByCountryAndArea method

The RemoveByCountryAndArea method removes an outbound routing rule (FaxOutboundRoutingRule object) from the collection using the routing rule's country/region code and area code.

Syntax

FaxOutboundRoutingRules.RemoveByCountryAndArea( _
  ByVal lCountryCode As Long, _
  ByVal lAreaCode As Long _
) As Long

Parameters

lCountryCode

Type: Long

A Long value that specifies the country/region code of the outbound routing rule to remove from the collection. Specifying frrcANY_CODE will remove a rule that applies to all country/region codes.

lAreaCode

Type: Long

A Long value that specifies the area code of the outbound routing rule to remove from the collection. Specifying frrcANY_CODE will remove a rule that applies to all area codes within the specified country/region code.

Remarks

You cannot set both lCountryCode and lAreaCode to frrcANY_CODE because this is equivalent to specifying the default outbound routing rule, which cannot be removed.

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