Freigeben über


SqlConnectionInfo.CreateConnectionObject-Methode

Creates a system connection object.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Overrides Function CreateConnectionObject As IDbConnection
'Usage
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

Rückgabewert

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

Siehe auch

Verweis

SqlConnectionInfo Klasse

Microsoft.SqlServer.Management.Common-Namespace