TSqlAuditEventGroupHelper.TryParseOption(String, SqlVersion, EventNotificationEventGroup) TSqlAuditEventGroupHelper.TryParseOption(String, SqlVersion, EventNotificationEventGroup) TSqlAuditEventGroupHelper.TryParseOption(String, SqlVersion, EventNotificationEventGroup) Method

Definition

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

public:
 static bool TryParseOption(System::String ^ input, Microsoft::SqlServer::TransactSql::ScriptDom::SqlVersion version, [Runtime::InteropServices::Out] Microsoft::SqlServer::TransactSql::ScriptDom::EventNotificationEventGroup % returnValue);
public static bool TryParseOption (string input, Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion version, out Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationEventGroup returnValue);
Public Shared Function TryParseOption (input As String, version As SqlVersion, ByRef returnValue As EventNotificationEventGroup) As Boolean
Parameters
input
String String String

The input string.

version
SqlVersion SqlVersion SqlVersion

The version.

returnValue
EventNotificationEventGroup EventNotificationEventGroup EventNotificationEventGroup

The output event notification event group for the input string.

Returns

True if the input string represents a valid Audit Event Group on the specified sql version; otherwise, false.

Applies to