(netcon.h) 的 INetConnectionProps 接口

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

使用 INetConnectionProps 接口检索连接的属性。

继承

INetConnectionProps 接口继承自 IDispatch 接口。 INetConnectionProps 还具有以下类型的成员:

方法

INetConnectionProps 接口包含以下方法。

 
INetConnectionProps::get_Characteristics

get_Characteristics 方法检索连接的媒体类型。
INetConnectionProps::get_DeviceName

get_DeviceName 方法检索与连接关联的设备的名称。
INetConnectionProps::get_Guid

get_Guid 方法检索连接的全局唯一标识符 (GUID) 。
INetConnectionProps::get_MediaType

get_MediaType 方法检索连接的媒体类型。
INetConnectionProps::get_Name

get_Name 方法检索连接的名称。
INetConnectionProps::get_Status

get_Status 方法检索连接的状态。

要求

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

另请参阅

INetSharingManager::get_NetConnectionProps

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

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