IFPCArrayPolicy2::RestrictedPorts property

Applies to: desktop apps only

The RestrictedPorts property gets an FPCRestrictedPorts collection that holds the list of port ranges prohibited for binding on behalf of a client in the array.

This property is read-only.

Syntax

HRESULT get_RestrictedPorts(
  IFPCRestrictedPorts **ppRestrictedPorts
);
' Data type: FPCRestrictedPorts

Property RestrictedPorts( _
  ByVal ppRestrictedPorts As IFPCRestrictedPorts _
) As FPCRestrictedPorts

Property value

Reference to the FPCRestrictedPorts collection that holds the list of port ranges prohibited for binding on behalf of a client in the array.

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. Restricted port ranges can be added, modified, or removed by calling the methods of the FPCRestrictedPorts collection retrieved (the IFPCRestrictedPorts interface retrieved in C++).

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

FPCArrayPolicy

 

 

Build date: 7/12/2010