TSqlTriggerEventTypeHelper.TryParseOption Method (String, SqlVersion, EventNotificationEventType)

 

Applies To: SQL Server 2016 Preview

Indicates whether the sql version tries to parse the input string into the trigger event group.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

public static bool TryParseOption(
    string input,
    SqlVersion version,
    out EventNotificationEventType returnValue
)
public:
static bool TryParseOption(
    String^ input,
    SqlVersion version,
    [OutAttribute] EventNotificationEventType% returnValue
)
static member TryParseOption : 
        input:string *
        version:SqlVersion *
        returnValue:EventNotificationEventType byref -> bool
Public Shared Function TryParseOption (
    input As String,
    version As SqlVersion,
    <OutAttribute> ByRef returnValue As EventNotificationEventType
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if the input string represents a valid audit event group on the specified sql version; otherwise, false.

See Also

TSqlTriggerEventTypeHelper Class
Microsoft.SqlServer.TransactSql.ScriptDom Namespace

Return to top