Share via


TSqlTriggerEventTypeHelper.TryParseOption Method

Definition

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

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 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