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