This documentation is archived and is not being maintained.
INetFwOpenPorts::Remove Method
Visual Studio 2013
Removes the specified port from this collection.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
void Remove( [InAttribute] int portNumber, [InAttribute] NET_FW_IP_PROTOCOL_ ipProtocol )
Parameters
- portNumber
- Type: System::Int32
The port number of the port to remove.
- ipProtocol
- Type: Microsoft.TeamFoundation.Common::NET_FW_IP_PROTOCOL_
The NET_FW_IP_PROTOCOL_) value indicating the protocol of the port to remove.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: