共用方式為


VSTATaskScriptingEngine Class

Definition

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

public ref class VSTATaskScriptingEngine : Microsoft::SqlServer::VSTAHosting::VSTAScriptingEngine
public class VSTATaskScriptingEngine : Microsoft.SqlServer.VSTAHosting.VSTAScriptingEngine
type VSTATaskScriptingEngine = class
    inherit VSTAScriptingEngine
Public Class VSTATaskScriptingEngine
Inherits VSTAScriptingEngine
Inheritance
VSTATaskScriptingEngine

Constructors

VSTATaskScriptingEngine(VSTAScriptProjectStorage)

Initializes a new instance of the VSTATaskScriptingEngine class.

Fields

c_xmlprojNamespace

the namespace name for all the names used in the vsta project file xml.

(Inherited from VSTAScriptingEngine)
m_debugMode (Inherited from VSTAScriptingEngine)
m_macroProjectPath (Inherited from VSTAScriptingEngine)
m_scriptStorage (Inherited from VSTAScriptingEngine)
VSTATaskHostID

Specifies the task host identifier of the Visual Studio Tools for Applications.

Properties

DebuggerVstaHelper (Inherited from VSTAScriptingEngine)
ExecutionException

Gets or sets the exception that occurs during script execution.

IsVstaHelperCreated (Inherited from VSTAScriptingEngine)
ProjectName

Gets or sets the current project name. Useful for renaming scripts

(Inherited from VSTAScriptingEngine)
ScriptAppName

Gets the name of the script application.

VstaHelper (Inherited from VSTAScriptingEngine)

Methods

CheckDebuggerInUsed(Boolean) (Inherited from VSTAScriptingEngine)
ClearDebuggerFlag() (Inherited from VSTAScriptingEngine)
DisposeVstaHelper() (Inherited from VSTAScriptingEngine)
LoadProjectFromStorage() (Inherited from VSTAScriptingEngine)
SaveProjectToStorage() (Inherited from VSTAScriptingEngine)

Applies to