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
- scriptFragment
Type: Microsoft.Data.Schema.ScriptDom.IScriptFragment
The script fragment to generate script for.
- writer
Type: System.IO.TextWriter
The writer that will be populated.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.