Share via


ScriptGenerator.GenerateScript Method (IScriptFragment, String%)

Generates a script from a script fragment.

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

Syntax

'Declaration
Public Sub GenerateScript ( _
    scriptFragment As IScriptFragment, _
    <OutAttribute> ByRef script As String _
)
public void GenerateScript(
    IScriptFragment scriptFragment,
    out string script
)
public:
void GenerateScript(
    IScriptFragment^ scriptFragment, 
    [OutAttribute] String^% script
)
member GenerateScript : 
        scriptFragment:IScriptFragment * 
        script:string byref -> unit 
public function GenerateScript(
    scriptFragment : IScriptFragment, 
    script : String
)

Parameters

.NET Framework Security

See Also

Reference

ScriptGenerator Class

GenerateScript Overload

Microsoft.Data.Schema.ScriptDom Namespace