SqlScriptGenerator.GenerateScript Method (TSqlFragment, TextWriter)

 

Generates a text representing the specified script fragment.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

No code example is currently available or this language may not be supported.

Parameters

scriptFragment
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment

The fragment of script to generate tokens for.

writer
Type: System.IO.TextWriter

A text writer to write the text to.

Return to top
Show: