Класс 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.

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

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