INetFwOpenPorts 接口

打开 firewall 端口的集合的接口。

命名空间:  Microsoft.TeamFoundation.Common
程序集:  Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)

语法

声明
<GuidAttribute("C0E9D7FA-E07E-430A-B19A-090CE82D92E2")> _
Public Interface INetFwOpenPorts _
    Inherits IEnumerable
[GuidAttribute("C0E9D7FA-E07E-430A-B19A-090CE82D92E2")]
public interface INetFwOpenPorts : IEnumerable

INetFwOpenPorts 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取此集合中的项数。

页首

方法

  名称 说明
公共方法 Add 添加一个指定端口到此集合
公共方法 GetEnumerator 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。)
公共方法 Item
公共方法 Remove 从此集合中移除该指定端口。

页首

请参见

参考

Microsoft.TeamFoundation.Common 命名空间