SqlConnectionInfo.Copy 方法
傳回 SqlConnectionInfo 物件的複本。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Function Copy As SqlConnectionInfo
'用途
Dim instance As SqlConnectionInfo
Dim returnValue As SqlConnectionInfo
returnValue = instance.Copy()
public SqlConnectionInfo Copy()
public:
SqlConnectionInfo^ Copy()
member Copy : unit -> SqlConnectionInfo
public function Copy() : SqlConnectionInfo
傳回值
型別:Microsoft.SqlServer.Management.Common.SqlConnectionInfo
SqlConnectionInfo 物件值,指定所參考原始 SqlConnectionInfo 物件的複本。