Share via


ScriptComponentHost.LoadScriptFromComponent Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Loads script from component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)

Syntax

'Declaration
Public Function LoadScriptFromComponent As Boolean
'Usage
Dim instance As ScriptComponentHost 
Dim returnValue As Boolean 

returnValue = instance.LoadScriptFromComponent()
public bool LoadScriptFromComponent()
public:
bool LoadScriptFromComponent()
member LoadScriptFromComponent : unit -> bool
public function LoadScriptFromComponent() : boolean

Return Value

Type: System.Boolean
The loaded script.

See Also

Reference

ScriptComponentHost Class

Microsoft.SqlServer.Dts.Pipeline Namespace