Determines whether the SAConnectionStringBuilder object contains a specific keyword.
Visual Basic syntax
Public Overrides Function
ContainsKey
(ByVal keyword As String)
As Boolean
C# syntax
public override bool
ContainsKey
(string keyword)
Parameters
-
keyword –
The keyword to locate in the SAConnectionStringBuilder.
Returns
True if the value associated with keyword has been set; otherwise, false.
Examples
The following statement determines whether the SAConnectionStringBuilder object contains the UserID keyword.
connectString.ContainsKey("UserID")