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)

'Declaration
Public Sub GenerateScript ( _
	scriptFragment As TSqlFragment, _
	writer As TextWriter _
)
'Usage
Dim instance As SqlScriptGenerator 
Dim scriptFragment As TSqlFragment 
Dim writer As TextWriter

instance.GenerateScript(scriptFragment, _
	writer)

Parameters

scriptFragment
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
The fragment of script to generate tokens for.
writer
Type: TextWriter
A text writer to write the text to.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft