Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
确定 SAConnectionStringBuilder 对象是否包含特定关键字。
Public Overrides Function ContainsKey( ByVal keyword As String ) As Boolean
public override bool ContainsKey(string keyword)
keyword 要在 SAConnectionStringBuilder 中查找的关键字。
如果已设置与关键字关联的值,则为 true;否则为 false。
以下语句确定 SAConnectionStringBuilder 对象是否包含 UserID 关键字。
connectString.ContainsKey("UserID")