VSTAComponentScriptingEngine 建構
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.TxScript (在 Microsoft.SqlServer.TxScript.dll 中)
語法
'宣告
Public Sub New ( _
scriptComponentHost As ScriptComponentHost, _
scriptStorage As VSTAScriptProjectStorage _
)
'用途
Dim scriptComponentHost As ScriptComponentHost
Dim scriptStorage As VSTAScriptProjectStorage
Dim instance As New VSTAComponentScriptingEngine(scriptComponentHost, _
scriptStorage)
public VSTAComponentScriptingEngine(
ScriptComponentHost scriptComponentHost,
VSTAScriptProjectStorage scriptStorage
)
public:
VSTAComponentScriptingEngine(
ScriptComponentHost^ scriptComponentHost,
VSTAScriptProjectStorage^ scriptStorage
)
new :
scriptComponentHost:ScriptComponentHost *
scriptStorage:VSTAScriptProjectStorage -> VSTAComponentScriptingEngine
public function VSTAComponentScriptingEngine(
scriptComponentHost : ScriptComponentHost,
scriptStorage : VSTAScriptProjectStorage
)
參數
- scriptComponentHost
型別:Microsoft.SqlServer.Dts.Pipeline. . :: . .ScriptComponentHost
- scriptStorage
型別:VSTAScriptProjectStorage