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 » SAConnectionStringBuilderBase class

GetKeyword method Next Page

GetUseLongNameAsKeyword method


Gets a boolean values that indicates whether long connection parameter names are used in the connection string.

Syntax

Visual Basic

Public Function GetUseLongNameAsKeyword() As Boolean

C#

public bool GetUseLongNameAsKeyword();

Return value

True if long connection parameter names are used to build connection strings; otherwise, false.

Remarks

SQL Anywhere connection parameters have both long and short forms of their names. For example, to specify the name of an ODBC data source in your connection string, you can use either of the following values: DataSourceName or DSN. By default, long connection parameter names are used to build connection strings.

See also