Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCIpOptions::IsSelected[C++]

FPCIpOptions.IsSelected [Visual Basic]

[C++]

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

HRESULT IsSelected(
  long IpOption,
  VARIANT_BOOL* pfSelected
);

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 Values

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

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

Function IsSelected( _
  ByVal IpOption As Long _
) As Boolean

Parameters

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

Return Values

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCIpOptions