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,它表示此连接的副本。