SqlScriptGenerator.GenerateScript SqlScriptGenerator.GenerateScript SqlScriptGenerator.GenerateScript Method

Definition

Generates a text representing the specified script fragment.

Overloads

GenerateScript(TSqlFragment, TextWriter) GenerateScript(TSqlFragment, TextWriter) GenerateScript(TSqlFragment, TextWriter)

Generates a text representing the specified script fragment.

GenerateScript(TSqlFragment, String) GenerateScript(TSqlFragment, String) GenerateScript(TSqlFragment, String)

Generates a text representing the specified script fragment.

GenerateScript(TSqlFragment, TextWriter) GenerateScript(TSqlFragment, TextWriter) GenerateScript(TSqlFragment, TextWriter)

Generates a text representing the specified script fragment.

public:
 void GenerateScript(Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment ^ scriptFragment, System::IO::TextWriter ^ writer);
public void GenerateScript (Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment, System.IO.TextWriter writer);
Public Sub GenerateScript (scriptFragment As TSqlFragment, writer As TextWriter)
Parameters
scriptFragment
TSqlFragment TSqlFragment TSqlFragment

The fragment of script to generate tokens for.

writer
TextWriter TextWriter TextWriter

A text writer to write the text to.

GenerateScript(TSqlFragment, String) GenerateScript(TSqlFragment, String) GenerateScript(TSqlFragment, String)

Generates a text representing the specified script fragment.

public:
 void GenerateScript(Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment ^ scriptFragment, [Runtime::InteropServices::Out] System::String ^ % script);
public void GenerateScript (Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment, out string script);
Public Sub GenerateScript (scriptFragment As TSqlFragment, ByRef script As String)
Parameters
scriptFragment
TSqlFragment TSqlFragment TSqlFragment

The fragment of script to generate tokens for.

script
String String String

The script.

Applies to