Microsoft Internet Security and Acceleration Server 2004 SDK

ProtocolSelectionMethod Property of IFPCAccessProperties[C++]

FPCAccessProperties.ProtocolSelectionMethod [Visual Basic]

[C++]

The ProtocolSelectionMethod property gets or sets a value from the FpcProtocolSelectionType enumerated type that indicates whether the rule applies to all IP traffic, only to certain protocols, or to all IP traffic except certain protocols.

HRESULT get_ProtocolSelectionMethod(
  FpcProtocolSelectionType* pProtocolSelectionType
);

HRESULT put_ProtocolSelectionMethod(
  FpcProtocolSelectionType ProtocolSelectionType
);

Parameters

pProtocolSelectionType
Pointer to a variable that on return receives a value from the FpcProtocolSelectionType enumerated type indicating whether the rule applies to all IP traffic, only to the protocols specified in the SpecifiedProtocols property, or to all IP traffic except the protocols specified in the SpecifiedProtocols property.
ProtocolSelectionType
Value from the FpcProtocolSelectionType enumerated type that indicates whether the rule applies to all IP traffic, only to the protocols specified in the SpecifiedProtocols property, or to all IP traffic except the protocols specified in the SpecifiedProtocols property.

Return Values

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 fpcAllIpTraffic, which indicates that the rule applies to all IP traffic.

[Visual Basic]

The ProtocolSelectionMethod property gets or sets a value from the FpcProtocolSelectionType enumerated type that indicates whether the rule applies to all IP traffic, only to certain protocols, or to all IP traffic except certain protocols.

Property ProtocolSelectionMethod As FpcProtocolSelectionType

Property Value

Value from the FpcProtocolSelectionType enumerated type that indicates whether the rule applies to all IP traffic, only to the protocols specified in the SpecifiedProtocols property, or to all IP traffic except the protocols specified in the SpecifiedProtocols property.

Remarks

This property is read/write. Its default value is fpcAllIpTraffic, which indicates that the rule applies to all IP traffic.

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

FPCAccessProperties