Share via


SqlScriptGenerator.GenerateScript Method (IScriptFragment, TextWriter)

Generates text representing the specified script fragment.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

SqlScriptGenerator Class

GenerateScript Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace