Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TSqlAuditEventGroupHelper.TryParseOption Method

SQL Server 2012

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
)

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.