TSqlAuditEventGroupHelper.TryParseOption 方法

定義

嘗試將輸入字串解析到稽核事件群組中。

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。

適用於