Data Management Object Model Reference

IConnectionString.ToString Method 

Returns the connection string in string form.

[Visual Basic]
Function ToString() As String
[C#]
string ToString();

Return Value

The connection string in string form

See Also

IConnectionString Interface | SPSSMR.Data Namespace