Поделиться через


Класс ASTaskBase

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Represents the Analysis Services task base.

Иерархия наследования

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

Пространство имен:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Сборка:  Microsoft.SqlServer.ASTasks (в Microsoft.SqlServer.ASTasks.dll)

Синтаксис

'Декларация
Public MustInherit Class ASTaskBase _
    Inherits Task
'Применение
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

Тип ASTaskBase обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ASTaskBase Инфраструктура. Initializes a new instance of the ASTaskBase class.

В начало

Свойства

  Имя Описание
Открытое свойство 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. (Производный от 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.
Открытое свойство Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Производный от Task.)

В начало

Методы

  Имя Описание
Открытый метод CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (Производный от Task.)
Открытый метод Equals Determines whether two object instances are equal. (Производный от DtsObject.)
Открытый метод Execute Инфраструктура. Executes the analysis services task. (Переопределяет Task.Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object).)
Защищенный метод Finalize (Производный от Object.)
Защищенный метод FireError(String, String) Инфраструктура. Raises an event when an error occurs.
Защищенный метод FireError(Int32, String, String, String) Инфраструктура. Raises an event when an error occurs.
Открытый метод GetConnectionID Gets a String containing the ID of the connection. (Производный от Task.)
Открытый метод GetConnectionName Gets a String containing the name of the connection. (Производный от Task.)
Открытый метод GetHashCode Returns the hash code for this instance. (Производный от DtsObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод InitializeTask Initializes the properties associated with the task. This method is called by the runtime and is not used in code. (Производный от Task.)
Защищенный метод InternalExecute Инфраструктура. Executes the task internally.
Защищенный метод InternalValidate Инфраструктура. Validates the task internally.
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод StopExecution Инфраструктура. Stops the execution of the analysis service task.
Защищенный метод SubscribeToProgressEvent Инфраструктура. Subscribes the task to progress event.
Открытый метод ToString (Производный от Object.)
Защищенный метод UnsubscribeToProgressEvent Инфраструктура. Unsubscribes the task from the progress event.
Открытый метод Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (Производный от Task.)
Открытый метод Validate Инфраструктура. Validates the analysis service task. (Переопределяет Task.Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging).)
Защищенный метод ValidateConnection Инфраструктура. Validates the task connection.
Защищенный метод ValidateDDL Инфраструктура. Validates the data definition language.
Защищенный метод WriteLog Инфраструктура. Writes a log for the task.

В начало

Поля

  Имя Описание
Защищенное поле bExecutionCanceled Инфраструктура. The execution is cancelled.
Защищенное поле bTraceError Инфраструктура. The trace error.
Защищенное поле ddl Инфраструктура. The data definition language.
Защищенное поле m_events Инфраструктура. The events.
Защищенное поле server Инфраструктура. The server.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.DataTransformationServices.Tasks.DTSProcessingTask