Share via


ASTaskBase Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents the Analysis Services task base.

Inheritance Hierarchy

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

Namespace:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly:  Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)

Syntax

'Declaration
Public MustInherit Class ASTaskBase _
    Inherits Task
'Usage
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

The ASTaskBase type exposes the following members.

Constructors

  Name Description
Public method ASTaskBase Infrastructure. Initializes a new instance of the ASTaskBase class.

Top

Properties

  Name Description
Public property ConnectionName Infrastructure. Gets or sets the name of the connection for the analysis services task.
Public property ExecutionValue Returns a user-defined object. This field is read-only. (Inherited from Task.)
Protected property ProgressEventName Infrastructure. Gets the name of the progress event for the analysis services task.
Protected property StatusEventName Infrastructure. Gets the name of the status event for the analysis services task.
Protected property SubComponentName Infrastructure. Gets the name of the sub component for the analysis services task.
Public property Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Inherited from Task.)

Top

Methods

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

Top

Fields

  Name Description
Protected field bExecutionCanceled Infrastructure. The execution is cancelled.
Protected field bTraceError Infrastructure. The trace error.
Protected field ddl Infrastructure. The data definition language.
Protected field m_events Infrastructure. The events.
Protected field server Infrastructure. The server.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace