SqlScriptGenerator.GenerateScript Method (TSqlFragment, String)

 

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 Sub GenerateScript (
	scriptFragment As TSqlFragment,
	<OutAttribute> ByRef script As String
)

Parameters

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

The fragment of script to generate tokens for.

script
Type: System.String

The script.

Return to top
Show: