Partager via


Classe ASTaskBase

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Represents the Analysis Services task base.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly :  Microsoft.SqlServer.ASTasks (en Microsoft.SqlServer.ASTasks.dll)

Syntaxe

'Déclaration
Public MustInherit Class ASTaskBase _
    Inherits Task
'Utilisation
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

Le type ASTaskBase expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ASTaskBase Infrastructure. Initializes a new instance of the ASTaskBase class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ConnectionName Infrastructure. Gets or sets the name of the connection for the analysis services task.
Propriété publique ExecutionValue Returns a user-defined object. This field is read-only. (hérité de Task.)
Propriété protégée ProgressEventName Infrastructure. Gets the name of the progress event for the analysis services task.
Propriété protégée StatusEventName Infrastructure. Gets the name of the status event for the analysis services task.
Propriété protégée SubComponentName Infrastructure. Gets the name of the sub component for the analysis services task.
Propriété publique Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (hérité de Task.)

Haut de la page

Méthodes

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

Haut de la page

Champs

  Nom Description
Champ protégé bExecutionCanceled Infrastructure. The execution is cancelled.
Champ protégé bTraceError Infrastructure. The trace error.
Champ protégé ddl Infrastructure. The data definition language.
Champ protégé m_events Infrastructure. The events.
Champ protégé server Infrastructure. The server.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.DataTransformationServices.Tasks.DTSProcessingTask