次の方法で共有


GetConnection メソッド

バックアップ用ストレージへのサーバー接続を取得します。このメンバーをコード内で直接参照しないでください。このメンバーは、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
サーバー接続を保持する ISfcConnection オブジェクトです。