Share via


Méthode CreateConnectionObject

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Creates an IDbConnection object for a connection to an instance of the Moteur de base de données SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Overrides Function CreateConnectionObject As IDbConnection
'Utilisation
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

Valeur de retour

Type : System.Data. . :: . .IDbConnection
An IDbConnection object for a connection to an instance of the Moteur de base de données SQL Server.