Метод GetConnectionObject

Returns the SFC interface object that represents the connection to the instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.RegisteredServers
Сборка:  Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)

Синтаксис

'Декларация
Public Function GetConnectionObject As ISfcConnection
'Применение
Dim instance As RegisteredServer
Dim returnValue As ISfcConnection

returnValue = instance.GetConnectionObject()
public ISfcConnection GetConnectionObject()
public:
ISfcConnection^ GetConnectionObject()
member GetConnectionObject : unit -> ISfcConnection 
public function GetConnectionObject() : ISfcConnection

Возвращаемое значение

Тип Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
A ISfcConnection interface object value that represents the connection to the instance of SQL Server.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.