共用方式為


ASTaskBase Class

Definition

Represents the Analysis Services task base.

public ref class ASTaskBase abstract : Microsoft::SqlServer::Dts::Runtime::Task
public abstract class ASTaskBase : Microsoft.SqlServer.Dts.Runtime.Task
type ASTaskBase = class
    inherit Task
Public MustInherit Class ASTaskBase
Inherits Task
Inheritance
ASTaskBase
Derived

Constructors

ASTaskBase()

Initializes a new instance of the ASTaskBase class.

Fields

bExecutionCanceled

The execution is cancelled.

bTraceError

The trace error.

ddl

The data definition language.

m_events

The events.

server

The server.

Properties

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.

(Inherited from 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.

TargetServerVersion (Inherited from Task)
Version

*** Member deprecated; see Remarks. ***   Returns the version of the task. This property is read-only.

(Inherited from Task)

Methods

CanUpdate(String)

*** Member deprecated; see Remarks. ***   A Boolean that indicates whether the new package XML can update the old package XML.

(Inherited from Task)
Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)

Executes the analysis services task.

ExecuteCommand(String, Connections, IDTSComponentEvents, Object)
FireError(Int32, String, String, String)

Raises an event when an error occurs.

FireError(String, String)

Raises an event when an error occurs.

GetConnectionID(Connections, String)

Gets a String containing the ID of the connection.

(Inherited from Task)
GetConnectionName(Connections, String)

Gets a String containing the name of the connection.

(Inherited from Task)
GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker)

Initializes the properties associated with the task. This method is called by the runtime and is not used in code.

(Inherited from Task)
InternalExecute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)

Executes the task internally.

InternalValidate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)

Validates the task internally.

StopExecution()

Stops the execution of the analysis service task.

SubscribeToProgressEvent(SessionTrace)

Subscribes the task to progress event.

UnsubscribeToProgressEvent(SessionTrace)

Unsubscribes the task from the progress event.

Update(String)

*** Member deprecated; see Remarks. ***   This method updates the old package XML with the new package XML if CanUpdate(String) is set to true.

(Inherited from Task)
Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)

Validates the analysis service task.

ValidateConnection(Connections)

Validates the task connection.

ValidateDDL(VariableDispenser, Connections, Exception)

Validates the data definition language.

WriteLog(IDTSLogging, String)

Writes a log for the task.

Applies to