Condividi tramite


Metodo CreateConnectionObject

Creates the connection object and returns the IDbConnection object value.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public MustOverride Function CreateConnectionObject As IDbConnection
'Utilizzo
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

Valore restituito

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