DataSource Property (SqlConnection)
In This Topic
Gets or sets the name of the instance of SQL Server to which to connect.
Syntax
'Declaration
Public Shadows Property DataSource As String
public new string DataSource {get; set;}
Property Value
The name of the instance of SQL Server.
See Also