Condividi tramite


Metodo SqlScriptGenerator.GenerateScript (TSqlFragment, 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 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
)

Parametri

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SqlScriptGenerator Classe

Overload GenerateScript

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