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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。