RestrictedPorts Property of the IFPCArrayPolicy2 Interface
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.
C++
HRESULT get_RestrictedPorts(
IFPCRestrictedPorts** ppRestrictedPorts
);
Parameters
- ppRestrictedPorts
Address of an interface pointer that on return points to an IFPCRestrictedPorts interface that represents the list of port ranges prohibited for binding on behalf the of a client in the array.
Return Value
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Property RestrictedPorts 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.
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
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010