Share via


SqlConnectionInfo.Copy Method

Returns a copy of the SqlConnectionInfo object.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Function Copy As SqlConnectionInfo
'Usage
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

Return Value

Type: Microsoft.SqlServer.Management.Common.SqlConnectionInfo
A SqlConnectionInfo object value that specifies the copy of the original, referenced SqlConnectionInfo object.

See Also

Reference

SqlConnectionInfo Class

Microsoft.SqlServer.Management.Common Namespace