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.

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