Condividi tramite


Metodo SqlScriptGenerator.GenerateScript (IScriptFragment, TextWriter)

Genera testo che rappresenta il frammento di script specificato.

Spazio dei nomi:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SqlScriptGenerator Classe

Overload GenerateScript

Spazio dei nomi Microsoft.Data.Schema.ScriptDom.Sql