Export (0) Print
Expand All

TSqlAuditEventTypeHelper.TryParseOption Method

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

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 EventNotificationEventType _
) As Boolean
Dim input As String 
Dim version As SqlVersion 
Dim returnValue As EventNotificationEventType 
Dim returnValue As Boolean 

returnValue = TSqlAuditEventTypeHelper.TryParseOption(input, _
	version, returnValue)


Type: String
The input string.
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion
The version.
Type: Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationEventType
The output event notification event type for the input string.

Return Value

Type: Boolean
True if the input string represents a valid audit event group on the specified sql version; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft