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