GetConnection 方法

Gets the server connection to the backing storage. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Function GetConnection As ISfcConnection
用法
Dim instance As ISfcHasConnection
Dim returnValue As ISfcConnection

returnValue = instance.GetConnection()
ISfcConnection GetConnection()
ISfcConnection^ GetConnection()
abstract GetConnection : unit -> ISfcConnection 
function GetConnection() : ISfcConnection

返回值

类型:Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
An ISfcConnection object that contains the server connection.