INetFwOpenPorts.Remove Method

Removes the specified port from this collection.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Sub Remove ( _
    portNumber As Integer, _
    ipProtocol As NET_FW_IP_PROTOCOL_ _
)
void Remove(
    int portNumber,
    NET_FW_IP_PROTOCOL_ ipProtocol
)
void Remove(
    [InAttribute] int portNumber, 
    [InAttribute] NET_FW_IP_PROTOCOL_ ipProtocol
)
abstract Remove : 
        portNumber:int * 
        ipProtocol:NET_FW_IP_PROTOCOL_ -> unit
function Remove(
    portNumber : int, 
    ipProtocol : NET_FW_IP_PROTOCOL_
)

Parameters

  • portNumber
    Type: System.Int32

    The port number of the port to remove.

.NET Framework Security

See Also

Reference

INetFwOpenPorts Interface

Microsoft.TeamFoundation.Common Namespace