DataSource property

Gets the name of the database server.

Syntax
Visual Basic

Public Overrides Readonly Property DataSource As String
C#

public override string  DataSource  { get;}
Remarks

If the connection is opened, the SAConnection object returns the ServerName server property. Otherwise, the SAConnection object looks in the connection string in the following order: EngineName, ServerName, ENG.

See also