TechNet
Export (0) Print
Expand All

TSqlAuditEventTypeHelper::TryParseOption Method (String^, SqlVersion, EventNotificationEventType)

 

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:
static bool TryParseOption(
	String^ input,
	SqlVersion version,
	[OutAttribute] EventNotificationEventType% returnValue
)

Parameters

input
Type: System::String^

The input string.

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

The version.

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

The output event notification event type 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:
© 2016 Microsoft