Share via


IFPCIpOptions::IsSelected method

Applies to: desktop apps only

The IsSelected method queries whether the specified IP option is selected.

Syntax

HRESULT IsSelected(
  [in]   long IpOption,
  [out]  VARIANT_BOOL *pfSelected
);
FPCIpOptions.IsSelected( _
  ByVal IpOption As Long, _
  ByRef pfSelected As VARIANT_BOOL _
) As Boolean

Parameters

  • IpOption [in]
    A 32-bit integer that specifies the IP option.

  • pfSelected [out]
    Pointer to a Boolean value that is set on return to VARIANT_TRUE if the specified IP option is selected, or to VARIANT_FALSE if the specified IP option is cleared.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

Boolean value that is set to True if the specified IP option is selected, or to False if the specified IP option is cleared. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

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

FPCIpOptions

 

 

Build date: 7/12/2010