IVsDataConnection.GetLockedProviderObject 方法

检索支持当前数据连接的基础锁定的数据提供程序。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Function GetLockedProviderObject As Object
Object GetLockedProviderObject()
Object^ GetLockedProviderObject()
abstract GetLockedProviderObject : unit -> Object 
function GetLockedProviderObject() : Object

返回值

类型:System.Object
当前数据连接的基础锁定的数据提供程序对象。

备注

客户端可以使用此方法,因此了解基础数据提供程序时,并且希望将调用出于性能原因而直接对其API,或,因为具有DDEX本质上不支持的功能。

提供程序对象的示例是 ADO.NET 提供程序的 IDbConnection 实例或XML文件的中。

.NET Framework 安全性

请参见

参考

IVsDataConnection 接口

GetLockedProviderObject 重载

Microsoft.VisualStudio.Data.Services 命名空间