语言

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。

适用于