Compartir a través de


CreateConnectionObject Método

Creates a system connection object.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Overrides Function CreateConnectionObject As IDbConnection
'Uso
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

Valor devuelto

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