Share via


IFPCIPOnNetwork::IPSelectionMethod property

Applies to: desktop apps only

The IPSelectionMethod property gets or sets a value from the FpcIPSelectionMethods enumerated type that specifies the method for selecting IP addresses on the network. All of the IP addresses on the network, only the default IP address, or only the IP addresses listed in the IPAddresses property can be selected.

This property is read/write.

Syntax

HRESULT put_IPSelectionMethod(
  FpcIPSelectionMethods IPSelectionMethod
);

HRESULT get_IPSelectionMethod(
  FpcIPSelectionMethods *pIPSelectionMethod
);
' Data type: FpcIPSelectionMethods

Property IPSelectionMethod( _
  ByVal IPSelectionMethod As FpcIPSelectionMethods, _
  ByVal pIPSelectionMethod As FpcIPSelectionMethods _
) As FpcIPSelectionMethods

Property value

Value from the FpcIPSelectionMethods enumerated type that specifies whether all of the IP addresses on the network, only the default IP address, or only the IP addresses listed in the IPAddresses property will be selected.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is fpcDefaultIPAddress, which indicates that only the default IP address on the Forefront TMG computer in the network will be selected.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCIPOnNetwork

 

 

Build date: 7/12/2010