ScriptComponentHost.LoadScriptFromComponent 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Loads script from component.

命名空间:  Microsoft.SqlServer.Dts.Pipeline
程序集:  Microsoft.SqlServer.TxScript(在 Microsoft.SqlServer.TxScript.dll 中)

语法

声明
Public Function LoadScriptFromComponent As Boolean
用法
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

返回值

类型:System.Boolean
The loaded script.

请参阅

参考

ScriptComponentHost 类

Microsoft.SqlServer.Dts.Pipeline 命名空间