Share via


SqlConnectionInfo.ToString Method

Returns the SqlConnectionInfo object in string format.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As SqlConnectionInfo 
Dim returnValue As String 

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string  
override ToString : unit -> string
public override function ToString() : String

Return Value

Type: String
A String value that specifies the SqlConnectionInfo object.

See Also

Reference

SqlConnectionInfo Class

Microsoft.SqlServer.Management.Common Namespace