Export (0) Print
Expand All

ConnectionSettings.ConnectionString Property

Gets or sets the connection string used to establish a connection with a specified data source.

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

[BrowsableAttribute(false)]
public string ConnectionString { get; set; }

Property Value

Type: String
A String value that specifies the connection string used to establish a connection.

The ConnectionString property is a string that contains elements required for the connection.

"id=" & vid & ";password=" & vpass & ";data source=mySQLServer;Connect Timeout=30"

Community Additions

Show:
© 2015 Microsoft