Share via


ScriptGenerator.GenerateScript Method (IScriptFragment, TextWriter)

Populates the writer with a script with the scriptFragment.

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

Syntax

'Declaration
Public MustOverride Sub GenerateScript ( _
    scriptFragment As IScriptFragment, _
    writer As TextWriter _
)
public abstract void GenerateScript(
    IScriptFragment scriptFragment,
    TextWriter writer
)
public:
virtual void GenerateScript(
    IScriptFragment^ scriptFragment, 
    TextWriter^ writer
) abstract
abstract GenerateScript : 
        scriptFragment:IScriptFragment * 
        writer:TextWriter -> unit 
public abstract function GenerateScript(
    scriptFragment : IScriptFragment, 
    writer : TextWriter
)

Parameters

.NET Framework Security

See Also

Reference

ScriptGenerator Class

GenerateScript Overload

Microsoft.Data.Schema.ScriptDom Namespace