Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public void GenerateScript(
	TSqlFragment scriptFragment,
	TextWriter writer


Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment

The fragment of script to generate tokens for.

Type: System.IO.TextWriter

A text writer to write the text to.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft