Partilhar via


Método SqlScriptGenerator.GenerateScript (TSqlFragment, TextWriter)

Gera o texto que representa o fragmento de script especificado.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (em Microsoft.Data.Schema.ScriptDom.Sql.dll)

Sintaxe

'Declaração
Public Sub GenerateScript ( _
    scriptFragment As TSqlFragment, _
    writer As TextWriter _
)
public void GenerateScript(
    TSqlFragment scriptFragment,
    TextWriter writer
)
public:
void GenerateScript(
    TSqlFragment^ scriptFragment, 
    TextWriter^ writer
)
member GenerateScript : 
        scriptFragment:TSqlFragment * 
        writer:TextWriter -> unit 
public function GenerateScript(
    scriptFragment : TSqlFragment, 
    writer : TextWriter
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

SqlScriptGenerator Classe

Sobrecargas GenerateScript

Namespace Microsoft.Data.Schema.ScriptDom.Sql