Share via


OlapConnectionInfo.CreateConnectionObject Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Creates an IDbConnection object for a connection to an instance of the SQL Server Database Engine.

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

Syntax

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

Return Value

Type: System.Data.IDbConnection
An IDbConnection object for a connection to an instance of the SQL Server Database Engine.

See Also

Reference

OlapConnectionInfo Class

Microsoft.SqlServer.Management.Common Namespace