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. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间