Share via


IPSelectionMethod Property of the IFPCIPOnNetwork Interface

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.

C++

HRESULT put_IPSelectionMethod(
    FpcIPSelectionMethods IPSelectionMethod
);
HRESULT get_IPSelectionMethod(
    FpcIPSelectionMethods* pIPSelectionMethod
);

Parameters

  • IPSelectionMethod
    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.

  • pIPSelectionMethod
    Pointer to a variable that on return receives a value from the FpcIPSelectionMethods enumerated type specifying 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.

Return Value

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

Visual Basic

Property IPSelectionMethod 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.

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

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCIPOnNetwork

Send comments about this topic to Microsoft

Build date: 6/30/2010