Condividi tramite


Classe ASTaskBase

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Represents the Analysis Services task base.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly:  Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)

Sintassi

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

Nel tipo ASTaskBase sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ASTaskBase Infrastruttura. Initializes a new instance of the ASTaskBase class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ConnectionName Infrastruttura. Gets or sets the name of the connection for the analysis services task.
Proprietà pubblica ExecutionValue Returns a user-defined object. This field is read-only. Ereditato da Task.
Proprietà protetta ProgressEventName Infrastruttura. Gets the name of the progress event for the analysis services task.
Proprietà protetta StatusEventName Infrastruttura. Gets the name of the status event for the analysis services task.
Proprietà protetta SubComponentName Infrastruttura. Gets the name of the sub component for the analysis services task.
Proprietà pubblica Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. Ereditato da Task.

In alto

Metodi

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

In alto

Campi

  Nome Descrizione
Campo protetto bExecutionCanceled Infrastruttura. The execution is cancelled.
Campo protetto bTraceError Infrastruttura. The trace error.
Campo protetto ddl Infrastruttura. The data definition language.
Campo protetto m_events Infrastruttura. The events.
Campo protetto server Infrastruttura. The server.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.DataTransformationServices.Tasks.DTSProcessingTask