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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SAConnectionStringBuilderBase class

 

ContainsKey method

Determines whether the SAConnectionStringBuilder object contains a specific keyword.

Syntax
Visual Basic

Public Overrides Function ContainsKey( _
   ByVal keyword As String _
) As Boolean
C#

public override bool ContainsKey(
   string  keyword
);
Parameters
  • keyword   The keyword to locate in the SAConnectionStringBuilder.

Return value

True if the value associated with keyword has been set; otherwise, false.

Example

The following statement determines whether the SAConnectionStringBuilder object contains the UserID keyword.

connectString.ContainsKey("UserID")
See also