IConnectionPoint 接口 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
提供 OLE DB IConnectionPoint 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
public interface class IConnectionPoint[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IConnectionPoint[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface IConnectionPoint[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IConnectionPoint = interface[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type IConnectionPoint = interfacePublic Interface IConnectionPoint- 属性
注解
有关新开发,请参阅 IConnectionPoint。
注意
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。
方法
| Advise(IntPtr, Int32) | 
				已过时.
			 在连接点和调用方的接收器对象之间建立一个通知连接。 | 
| EnumConnections(IEnumConnections) | 
				已过时.
			 创建枚举数对象,以便循环访问到此连接点的现有连接。 | 
| GetConnectionInterface(Guid) | 
				已过时.
			 返回由此连接点管理的输出接口的 IID。 | 
| GetConnectionPointContainer(IConnectionPointContainer) | 
				已过时.
			 检索指向在概念上拥有此连接点的可连接对象的  | 
| Unadvise(Int32) | 
				已过时.
			 关闭先前通过 Advise(IntPtr, Int32) 方法建立的通知连接。 |