Partilhar via


Classe TaskInfo

Contains information about a task installed on the local computer.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public NotInheritable Class TaskInfo _
    Inherits DtsObject _
    Implements IDTSName
'Uso
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

O tipo TaskInfo expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública 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.
Propriedade pública Description Gets or sets a description for the task.
Propriedade pública FileName Returns the name of the task. This property is read-only.
Propriedade pública FileNameVersionString Returns the version of the implementation file. This property is read-only.
Propriedade pública IconFile Returns the fully qualified name of the file that holds the icon for the task. This property is read-only.
Propriedade pública 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.
Propriedade pública ID Returns the GUID used when creating the task. This property is read-only.
Propriedade pública Name Gets or sets the task name.
Propriedade pública TaskContact Returns the contact information for the task. This property is read-only.
Propriedade pública TaskType Returns a String that describes the type of task. This property is read-only.
Propriedade pública UITypeName Returns the assembly that implements the user interface for the task. This value is read-only.

Início

Métodos

  Nome Descrição
Método público Equals Determines whether two object instances are equal. (Herdado de DtsObject.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Returns the hash code for this instance. (Herdado de DtsObject.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência