Compartilhar via


Método SqlScriptGenerator.GenerateScript (IScriptFragment, 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 Overrides Sub GenerateScript ( _
    scriptFragment As IScriptFragment, _
    writer As TextWriter _
)
public override void GenerateScript(
    IScriptFragment scriptFragment,
    TextWriter writer
)
public:
virtual void GenerateScript(
    IScriptFragment^ scriptFragment, 
    TextWriter^ writer
) override
abstract GenerateScript : 
        scriptFragment:IScriptFragment * 
        writer:TextWriter -> unit 
override GenerateScript : 
        scriptFragment:IScriptFragment * 
        writer:TextWriter -> unit 
public override function GenerateScript(
    scriptFragment : IScriptFragment, 
    writer : TextWriter
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

SqlScriptGenerator Classe

Sobrecargas GenerateScript

Namespace Microsoft.Data.Schema.ScriptDom.Sql