TSqlAuditEventGroupHelper.TryParseOption Method (String, SqlVersion, EventNotificationEventGroup)

 

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

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

Public Shared Function TryParseOption (
	input As String,
	version As SqlVersion,
	<OutAttribute> ByRef returnValue As EventNotificationEventGroup
) As Boolean

Parameters

input
Type: System.String

The input string.

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

The version.

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

The output event notification event group 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: