Share via


TSqlAuditEventTypeHelper.TryParseOption Method

Definition

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

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

Parameters

input
String
version
SqlVersion
returnValue
EventNotificationEventType

The output event notificiation event type 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