Share via


IFPCRuleElements::ProtocolDefinitions property

Applies to: desktop apps only

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.

This property is read-only.

Syntax

HRESULT get_ProtocolDefinitions(
  IFPCProtocolDefinitions **ppProtocolDefinitions
);
' Data type: FPCProtocolDefinitions

Property ProtocolDefinitions( _
  ByVal ppProtocolDefinitions As IFPCProtocolDefinitions _
) 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.

Error codes

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

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

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

FPCRuleElements

 

 

Build date: 7/12/2010