TSqlAuditEventTypeHelper.TryParseOption 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
嘗試將輸入字串解析成稽核事件類型。
public static bool TryParseOption(string input, Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion version, out Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationEventType returnValue);
static member TryParseOption : string * Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion * EventNotificationEventType -> bool
Public Shared Function TryParseOption (input As String, version As SqlVersion, ByRef returnValue As EventNotificationEventType) As Boolean
參數
- input
- String
- version
- SqlVersion
- returnValue
- EventNotificationEventType
輸入字串的輸出事件通知事件類型。
傳回
若輸入字串代表指定 SQL 版本下的有效稽核事件群組,則回傳 true;否則為 false。