Compartilhar via


Classe ASTaskBase

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Represents the Analysis Services task base.

Hierarquia de herança

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 (em Microsoft.SqlServer.ASTasks.dll)

Sintaxe

'Declaração
Public MustInherit Class ASTaskBase _
    Inherits Task
'Uso
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

O tipo ASTaskBase expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ASTaskBase Infraestrutura. Initializes a new instance of the ASTaskBase class.

Início

Propriedades

  Nome Descrição
Propriedade pública ConnectionName Infraestrutura. Gets or sets the name of the connection for the analysis services task.
Propriedade pública ExecutionValue Returns a user-defined object. This field is read-only. (Herdado de Task.)
Propriedade protegida ProgressEventName Infraestrutura. Gets the name of the progress event for the analysis services task.
Propriedade protegida StatusEventName Infraestrutura. Gets the name of the status event for the analysis services task.
Propriedade protegida SubComponentName Infraestrutura. Gets the name of the sub component for the analysis services task.
Propriedade pública Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Herdado de Task.)

Início

Métodos

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

Início

Campos

  Nome Descrição
Campo protegido bExecutionCanceled Infraestrutura. The execution is cancelled.
Campo protegido bTraceError Infraestrutura. The trace error.
Campo protegido ddl Infraestrutura. The data definition language.
Campo protegido m_events Infraestrutura. The events.
Campo protegido server Infraestrutura. The server.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.DataTransformationServices.Tasks.DTSProcessingTask