ProtocolDefinitions Property of the IFPCRuleElements Interface

The ProtocolDefinitions property gets an FPCProtocolDefinitions collection that contains the definitions of all the protocols supported by the Microsoft Firewall service in the array or the enterprise.

[C++]
HRESULT get_ProtocolDefinitions(
	IFPCProtocolDefinitions** ppProtocolDefinitions
);

Parameters

ppProtocolDefinitions

Address of an interface pointer that on return points to an IFPCProtocolDefinitions interface that represents the collection of the definitions of all the protocols supported by the Microsoft Firewall service in the array or the enterprise.

Return Value

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

[Visual Basic]
Property ProtocolDefinitions As FPCProtocolDefinitions

Property Value

Reference to an FPCProtocolDefinitions collection that contains the definitions of all the protocols supported by the Microsoft Firewall service in the array or the enterprise.

Remarks

This property is read-only. User-defined Firewall service protocols can be added and removed by calling the Add and Remove methods of the FPCProtocolDefinitions collection retrieved (the IFPCProtocolDefinitions interface retrieved in C++). The predefined protocols are read-only.

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

FPCRuleElements


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]