TSqlParser.TryParseSqlModuleObjectName(TextReader, SchemaObjectName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses the input script to return the SchemaObjectName of the first create/alter sql_module statement, if found.
public bool TryParseSqlModuleObjectName (System.IO.TextReader input, out Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName result);
member this.TryParseSqlModuleObjectName : System.IO.TextReader * SchemaObjectName -> bool
Public Function TryParseSqlModuleObjectName (input As TextReader, ByRef result As SchemaObjectName) As Boolean
Parameters
- input
- TextReader
The input script
- result
- SchemaObjectName
The output schema object name. Null if not found.
Returns
True if a result is returned, else false.