TSqlAuditEventTypeHelper.TryParseOption Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.