Partager via


TSqlParser.TryParseSqlModuleObjectName(TextReader, SchemaObjectName) Method

Definition

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.

Applies to