Condividi tramite


Metodo SqlConnectionInfo.CreateConnectionObject

Creates a system connection object.

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 SqlConnectionInfo 
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: IDbConnection
A IDbConnection system object value that specifies the connection object.

Vedere anche

Riferimento

SqlConnectionInfo Classe

Spazio dei nomi Microsoft.SqlServer.Management.Common