INetSharingPublicConnectionCollection 接口 (netcon.h)

[Internet 连接防火墙可能在后续版本中已更改或不可用。 请改用 Windows 防火墙 API。]

借助 INetSharingPublicConnectionCollection 接口,VBScript 和 JScript 等脚本语言可以枚举公共连接。

继承

INetSharingPublicConnectionCollection 接口继承自 IDispatch 接口。 INetSharingPublicConnectionCollection 也有以下类型的成员:

方法

INetSharingPublicConnectionCollection 接口具有这些方法。

 
INetSharingPublicConnectionCollection::get__NewEnum

get__NewEnum 方法检索公共连接集合的枚举器。
INetSharingPublicConnectionCollection::get_Count

get_Count 方法检索公共连接集合中的项数。

要求

要求
最低受支持的客户端 Windows XP [仅限桌面应用]
最低受支持的服务器 无受支持的版本
目标平台 Windows
标头 netcon.h

另请参阅

Internet 连接共享和 Internet 连接防火墙接口

Internet 连接共享和 Internet 连接防火墙参考