This topic has not yet been rated - Rate this topic

SqlScriptGenerator.GenerateScript Method (TSqlFragment, TextWriter)

SQL Server 2012

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: System.IO.TextWriter
A text writer to write the text to.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.