Поделиться через


Метод CreateConnectionObject

Creates the connection object and returns the IDbConnection object value.

Пространство имен:  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

Возвращаемое значение

Тип: System.Data. . :: . .IDbConnection
A IDbConnection value that specifies the connection object.