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 命名空間