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。

适用于