TSqlAuditEventTypeHelper.TryParseOption 方法

定義

嘗試將輸入字串解析成稽核事件類型。

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。

適用於