ProtocolSelectionMethod Property of the IFPCAccessProperties Interface

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.

[C++]
HRESULT put_ProtocolSelectionMethod(
	FpcProtocolSelectionType ProtocolSelectionType
);
HRESULT get_ProtocolSelectionMethod(
	FpcProtocolSelectionType* pProtocolSelectionType
);

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 Value

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

[Visual Basic]
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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCAccessProperties


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.