共用方式為


TaskInfo 類別

Contains information about a task installed on the local computer.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..TaskInfo

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class TaskInfo _
    Inherits DtsObject _
    Implements IDTSName
'用途
Dim instance As TaskInfo
public sealed class TaskInfo : DtsObject, 
    IDTSName
public ref class TaskInfo sealed : public DtsObject, 
    IDTSName
[<SealedAttribute>]
type TaskInfo =  
    class
        inherit DtsObject
        interface IDTSName
    end
public final class TaskInfo extends DtsObject implements IDTSName

TaskInfo 型別公開下列成員。

屬性

  名稱 說明
公用屬性 CreationName Returns the string used by the runtime to create an instance of the TaskInfo object and add the object to the TaskInfos collection. This property is read-only.
公用屬性 Description Gets or sets a description for the task.
公用屬性 FileName Returns the name of the task. This property is read-only.
公用屬性 FileNameVersionString Returns the version of the implementation file. This property is read-only.
公用屬性 IconFile Returns the fully qualified name of the file that holds the icon for the task. This property is read-only.
公用屬性 IconResource The name of the .resource file or the .resx file that contains the icon to use when representing this task in the graphical user interface. This value is read-only.
公用屬性 ID Returns the GUID used when creating the task. This property is read-only.
公用屬性 Name Gets or sets the task name.
公用屬性 TaskContact Returns the contact information for the task. This property is read-only.
公用屬性 TaskType Returns a String that describes the type of task. This property is read-only.
公用屬性 UITypeName Returns the assembly that implements the user interface for the task. This value is read-only.

上層

方法

  名稱 說明
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

A TaskInfo object describes a task that is installed on the computer and that clients can instantiate. The registered task classes include those provided with Microsoft SQL Server and custom tasks provided by other vendors and implemented by users.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。