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
- scriptFragment
Type: Microsoft.Data.Schema.ScriptDom.IScriptFragment
The script fragment to generate script for.
- script
Type: System.String%
The generated script.
.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.