ASTaskBase 类

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

Represents the Analysis Services task base.

继承层次结构

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.DataTransformationServices.Tasks.DTSProcessingTask.ASTaskBase
        Microsoft.DataTransformationServices.Tasks.DTSProcessingTask.ASExecuteDDLTask
        Microsoft.DataTransformationServices.Tasks.DTSProcessingTask.DTSProcessingTask

命名空间:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集:  Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)

语法

声明
Public MustInherit Class ASTaskBase _
    Inherits Task
用法
Dim instance As ASTaskBase
public abstract class ASTaskBase : Task
public ref class ASTaskBase abstract : public Task
[<AbstractClassAttribute>]
type ASTaskBase =  
    class 
        inherit Task 
    end
public abstract class ASTaskBase extends Task

ASTaskBase 类型公开以下成员。

构造函数

  名称 说明
公共方法 ASTaskBase 基础结构。Initializes a new instance of the ASTaskBase class.

页首

属性

  名称 说明
公共属性 ConnectionName 基础结构。Gets or sets the name of the connection for the analysis services task.
公共属性 ExecutionValue Returns a user-defined object. This field is read-only. (从 Task 继承。)
受保护属性 ProgressEventName 基础结构。Gets the name of the progress event for the analysis services task.
受保护属性 StatusEventName 基础结构。Gets the name of the status event for the analysis services task.
受保护属性 SubComponentName 基础结构。Gets the name of the sub component for the analysis services task.
公共属性 Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (从 Task 继承。)

页首

方法

  名称 说明
公共方法 CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (从 Task 继承。)
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
公共方法 Execute 基础结构。Executes the analysis services task. (覆盖 Task.Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 FireError(String, String) 基础结构。Raises an event when an error occurs.
受保护方法 FireError(Int32, String, String, String) 基础结构。Raises an event when an error occurs.
公共方法 GetConnectionID Gets a String containing the ID of the connection. (从 Task 继承。)
公共方法 GetConnectionName Gets a String containing the name of the connection. (从 Task 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InitializeTask Initializes the properties associated with the task. This method is called by the runtime and is not used in code. (从 Task 继承。)
受保护方法 InternalExecute 基础结构。Executes the task internally.
受保护方法 InternalValidate 基础结构。Validates the task internally.
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 StopExecution 基础结构。Stops the execution of the analysis service task.
受保护方法 SubscribeToProgressEvent 基础结构。Subscribes the task to progress event.
公共方法 ToString (从 Object 继承。)
受保护方法 UnsubscribeToProgressEvent 基础结构。Unsubscribes the task from the progress event.
公共方法 Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (从 Task 继承。)
公共方法 Validate 基础结构。Validates the analysis service task. (覆盖 Task.Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)。)
受保护方法 ValidateConnection 基础结构。Validates the task connection.
受保护方法 ValidateDDL 基础结构。Validates the data definition language.
受保护方法 WriteLog 基础结构。Writes a log for the task.

页首

字段

  名称 说明
受保护字段 bExecutionCanceled 基础结构。The execution is cancelled.
受保护字段 bTraceError 基础结构。The trace error.
受保护字段 ddl 基础结构。The data definition language.
受保护字段 m_events 基础结构。The events.
受保护字段 server 基础结构。The server.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间