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 值。