Lenguaje

SqlScriptGenerator.GenerateScript Método

Definición

Sobrecargas

Nombre Description
GenerateScript(TSqlFragment, TextWriter)

Genera texto que representa el fragmento de script especificado.

GenerateScript(TSqlFragment, String)

Rellena el escritor con un script con scriptFragment.

GenerateScript(TSqlFragment, String, IList<ParseError>)

Rellena el escritor con un script con scriptFragment.

GenerateScript(TSqlFragment, TextWriter)

Genera texto que representa el fragmento de script especificado.

public void GenerateScript(Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment, System.IO.TextWriter writer);
member this.GenerateScript : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment * System.IO.TextWriter -> unit
Public Sub GenerateScript (scriptFragment As TSqlFragment, writer As TextWriter)

Parámetros

scriptFragment
TSqlFragment

Fragmento de script para el que se van a generar tokens

writer
TextWriter

Escritor de texto en el que escribir el texto

Se aplica a

GenerateScript(TSqlFragment, String)

Rellena el escritor con un script con scriptFragment.

public void GenerateScript(Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment, out string script);
member this.GenerateScript : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment * string -> unit
Public Sub GenerateScript (scriptFragment As TSqlFragment, ByRef script As String)

Parámetros

scriptFragment
TSqlFragment

Fragmento de script para el que se va a generar el script.

script
String

Script generado.

Se aplica a

GenerateScript(TSqlFragment, String, IList<ParseError>)

Rellena el escritor con un script con scriptFragment.

public void GenerateScript(Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment, out string script, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> versioningErrors);
member this.GenerateScript : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment * string * IList -> unit
Public Sub GenerateScript (scriptFragment As TSqlFragment, ByRef script As String, ByRef versioningErrors As IList(Of ParseError))

Parámetros

scriptFragment
TSqlFragment

Fragmento de script para el que se va a generar el script.

script
String

Script generado.

versioningErrors
IList<ParseError>

Lista de errores específica del tipo de motor.

Se aplica a