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 版本支持此命名空间、类或成员。