SqlOlapConnectionInfoBase.CreateConnectionObject 方法
创建连接对象并返回 IDbConnection 对象值。
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public MustOverride Function CreateConnectionObject As IDbConnection
用法
Dim instance As SqlOlapConnectionInfoBase
Dim returnValue As IDbConnection
returnValue = instance.CreateConnectionObject()
public abstract IDbConnection CreateConnectionObject()
public:
virtual IDbConnection^ CreateConnectionObject() abstract
abstract CreateConnectionObject : unit -> IDbConnection
public abstract function CreateConnectionObject() : IDbConnection
返回值
类型:IDbConnection
一个 IDbConnection 值,该值指定连接对象。