OlapConnectionInfo.CreateConnectionObject 方法
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Creates an IDbConnection object for a connection to an instance of the SQL Server 数据库引擎.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Overrides Function CreateConnectionObject As IDbConnection
用法
Dim instance As OlapConnectionInfo
Dim returnValue As IDbConnection
returnValue = instance.CreateConnectionObject()
public override IDbConnection CreateConnectionObject()
public:
virtual IDbConnection^ CreateConnectionObject() override
abstract CreateConnectionObject : unit -> IDbConnection
override CreateConnectionObject : unit -> IDbConnection
public override function CreateConnectionObject() : IDbConnection
返回值
类型:System.Data.IDbConnection
An IDbConnection object for a connection to an instance of the SQL Server 数据库引擎.