Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 static bool TryParseOption(
	string input,
	SqlVersion version,
	out EventNotificationEventGroup returnValue


Type: System.String

The input string.

Type: Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion

The version.

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft