ServerConnection.ISfcConnection.Copy 方法
使用 SFC 連接來複製伺服器連接。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Private Function Copy As ISfcConnection Implements ISfcConnection.Copy
'用途
Dim instance As ServerConnection
Dim returnValue As ISfcConnection
returnValue = CType(instance, ISfcConnection).Copy()
ISfcConnection ISfcConnection.Copy()
private:
virtual ISfcConnection^ Copy() sealed = ISfcConnection::Copy
private abstract Copy : unit -> ISfcConnection
private override Copy : unit -> ISfcConnection
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
傳回值
型別:Microsoft.SqlServer.Management.Common.ISfcConnection
ISfcConnection ,表示此連接的複本。