Partager via


Classe TaskInfo

Contains information about a task installed on the local computer.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class TaskInfo _
    Inherits DtsObject _
    Implements IDTSName
'Utilisation
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

Le type TaskInfo expose les membres suivants.

Propriétés

  Nom Description
Propriété publique 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.
Propriété publique Description Gets or sets a description for the task.
Propriété publique FileName Returns the name of the task. This property is read-only.
Propriété publique FileNameVersionString Returns the version of the implementation file. This property is read-only.
Propriété publique HelpCollection Gets the help collection from which to retrieve the help.
Propriété publique HelpKeyword Gets the help keyword for the task information.
Propriété publique IconFile Returns the fully qualified name of the file that holds the icon for the task. This property is read-only.
Propriété publique 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.
Propriété publique ID Returns the GUID used when creating the task. This property is read-only.
Propriété publique Name Gets or sets the task name.
Propriété publique SamplesTag Gets the samples tag for the TaskInfo.
Propriété publique TaskContact Returns the contact information for the task. This property is read-only.
Propriété publique TaskType Returns a String that describes the type of task. This property is read-only.
Propriété publique UITypeName Returns the assembly that implements the user interface for the task. This value is read-only.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime