This topic has not yet been rated - Rate this topic

TSqlParser.TryParseSqlModuleObjectName Method

SQL Server 2012

Indicates whether the input script contains a SQL module object name.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
'Declaration
Public Function TryParseSqlModuleObjectName ( _
	input As TextReader, _
	<OutAttribute> ByRef result As SchemaObjectName _
) As Boolean
'Usage
Dim instance As TSqlParser 
Dim input As TextReader 
Dim result As SchemaObjectName 
Dim returnValue As Boolean 

returnValue = instance.TryParseSqlModuleObjectName(input, _
	result)

Parameters

input
Type: System.IO.TextReader
The script that will be parsed.
result
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
When this method returns, contains the SQL module object name. This parameter is passed uninitialized.

Return Value

Type: System.Boolean
true if the input script contains a SQL module object name; otherwise false.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.