Compartilhar via


Método CreateConnectionObject

Creates the connection object and returns the IDbConnection object value.

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

Sintaxe

'Declaração
Public MustOverride Function CreateConnectionObject As IDbConnection
'Uso
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

Valor de retorno

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