IFPCAccessProperties::ProtocolSelectionMethod property

Applies to: desktop apps only

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.

This property is read/write.

Syntax

HRESULT put_ProtocolSelectionMethod(
  FpcProtocolSelectionType ProtocolSelectionType
);

HRESULT get_ProtocolSelectionMethod(
  FpcProtocolSelectionType *pProtocolSelectionType
);
' Data type: FpcProtocolSelectionType

Property ProtocolSelectionMethod( _
  ByVal ProtocolSelectionType As FpcProtocolSelectionType, _
  ByVal pProtocolSelectionType As FpcProtocolSelectionType _
) 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.

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

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

FPCAccessProperties

 

 

Build date: 7/12/2010