INetFwOpenPorts.Item Method
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Function Item ( _
portNumber As Integer, _
ipProtocol As NET_FW_IP_PROTOCOL_ _
) As INetFwOpenPort
INetFwOpenPort Item(
int portNumber,
NET_FW_IP_PROTOCOL_ ipProtocol
)
INetFwOpenPort^ Item(
[InAttribute] int portNumber,
[InAttribute] NET_FW_IP_PROTOCOL_ ipProtocol
)
abstract Item :
portNumber:int *
ipProtocol:NET_FW_IP_PROTOCOL_ -> INetFwOpenPort
function Item(
portNumber : int,
ipProtocol : NET_FW_IP_PROTOCOL_
) : INetFwOpenPort
Parameters
- portNumber
Type: System.Int32
- ipProtocol
Type: Microsoft.TeamFoundation.Common.NET_FW_IP_PROTOCOL_
Return Value
Type: Microsoft.TeamFoundation.Common.INetFwOpenPort
Returns INetFwOpenPort.
.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.