TSqlAuditEventGroupHelper.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 group.
public static bool TryParseOption (string input, Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion version, out Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationEventGroup returnValue);
static member TryParseOption : string * Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion * EventNotificationEventGroup -> bool
Public Shared Function TryParseOption (input As String, version As SqlVersion, ByRef returnValue As EventNotificationEventGroup) As Boolean
Parameters
- input
- String
- version
- SqlVersion
- returnValue
- EventNotificationEventGroup
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.