Condividi tramite


Metodo CreateConnectionObject

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Creates an IDbConnection object for a connection to an instance of the Motore di database di SQL Server.

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

Sintassi

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

Valore restituito

Tipo: System.Data. . :: . .IDbConnection
An IDbConnection object for a connection to an instance of the Motore di database di SQL Server.