TSqlAuditEventTypeHelper.TryParseOption Method (String, SqlVersion, EventNotificationEventType)

 

Indicates whether the sql version tries to parse the input string into the audit event type.

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

No code example is currently available or this language may not be supported.

Parameters

input
Type: System.String

The input string.

version
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion

The version.

returnValue
Type: Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationEventType

The output event notification event type for the input string.

Return Value

Type: System.Boolean

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

Return to top
Show: