This topic has not yet been rated - Rate this topic

TSqlTriggerEventGroupHelper.TryParseOption Method

SQL Server 2012

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
'Declaration
Public Shared Function TryParseOption ( _
	input As String, _
	version As SqlVersion, _
	<OutAttribute> ByRef returnValue As EventNotificationEventGroup _
) As Boolean
'Usage
Dim input As String 
Dim version As SqlVersion 
Dim returnValue As EventNotificationEventGroup 
Dim returnValue As Boolean 

returnValue = TSqlTriggerEventGroupHelper.TryParseOption(input, _
	version, 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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.