TSqlParser.TryParseSqlModuleObjectName Method
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)
Syntax
'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)
public bool TryParseSqlModuleObjectName(
TextReader input,
out SchemaObjectName result
)
public:
bool TryParseSqlModuleObjectName(
TextReader^ input,
[OutAttribute] SchemaObjectName^% result
)
member TryParseSqlModuleObjectName :
input:TextReader *
result:SchemaObjectName byref -> bool
public function TryParseSqlModuleObjectName(
input : TextReader,
result : SchemaObjectName
) : boolean
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.