Udostępnij przez


Metoda OlapConnectionInfo.CreateConnectionObject

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.Tworzy obiekt IDbConnection dla połączenia z wystąpienie Aparat baz danych programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Common
Zestaw:  Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)

Składnia

'Deklaracja
Public Overrides Function CreateConnectionObject As IDbConnection
'Użycie
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

Wartość zwracana

Typ: System.Data.IDbConnection
Obiekt IDbConnection dla połączenia z wystąpienie Aparat baz danych programu SQL Server.