Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SAConnection class

ConnectionTimeout property Next Page

DataSource property

Gets the name of the database server.


Visual Basic

Public Overrides Readonly Property DataSource As String


public override string DataSource { get;}


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