共用方式為


VSTATaskScriptingEngine 類別

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Represents the Visual Studio Tools for Applications (VSTA) scripting engine for executing task scripts.

繼承階層

System.Object
  VSTAScriptingEngine
    Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine

命名空間:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件:  Microsoft.SqlServer.ScriptTask (在 Microsoft.SqlServer.ScriptTask.dll 中)

語法

'宣告
Public Class VSTATaskScriptingEngine _
    Inherits VSTAScriptingEngine
'用途
Dim instance As VSTATaskScriptingEngine
public class VSTATaskScriptingEngine : VSTAScriptingEngine
public ref class VSTATaskScriptingEngine : public VSTAScriptingEngine
type VSTATaskScriptingEngine =  
    class 
        inherit VSTAScriptingEngine 
    end
public class VSTATaskScriptingEngine extends VSTAScriptingEngine

VSTATaskScriptingEngine 型別公開下列成員。

建構函式

  名稱 說明
公用方法 VSTATaskScriptingEngine 基礎結構。Initializes a new instance of the VSTATaskScriptingEngine class.

上層

屬性

  名稱 說明
受保護的屬性 EnabledDebugging Gets or sets a value that indicates whether the task enables debugging. (覆寫 VSTAScriptingEngineEnabledDebugging。)
公用屬性 ExecutionException 基礎結構。Gets or sets the exception that occurs during script execution.
受保護的屬性 ScriptAppName Gets the name of the script application. (覆寫 VSTAScriptingEngineScriptAppName。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

欄位

  名稱 說明
公用欄位靜態成員 VSTATaskHostID Specifies the task host identifier of the Visual Studio Tools for Applications.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Tasks.ScriptTask 命名空間