共用方式為


INetFwOpenPorts 介面

開啟防火牆集合的介面連接埠。

命名空間:  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 命名空間