Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- ipProtocol
Type: Microsoft.TeamFoundation.Common.NET_FW_IP_PROTOCOL_
The [T:Microsoft.TeamFoundation.Common.NET_FW_IP_PROTOCOL_)] value indicating the protocol of the port to remove.
.NET Framework Security
- 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.