Share via


SqlOlapConnectionInfoBase.CreateConnectionObject Method

Creates the connection object and returns the IDbConnection object value.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public MustOverride Function CreateConnectionObject As IDbConnection
'Usage
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

Return Value

Type: System.Data.IDbConnection
A IDbConnection value that specifies the connection object.