TSqlAuditEventGroupHelper.TryParseOption Method

Definition

Tries to parse the input string into the audit event group.

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

Parameters

input
String
version
SqlVersion
returnValue
EventNotificationEventGroup

The output event notificiation event group for the input string.

Returns

Returns true if the input string represents a valid Audit Event Group on the specified sql version, else false.

Applies to