Compartilhar via


Classe TaskInfos

Contains a collection of TaskInfo objects. This class cannot be inherited.

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime.TaskInfos

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

Sintaxe

'Declaração
Public NotInheritable Class TaskInfos _
    Inherits DTSReadOnlyCollectionBase
'Uso
Dim instance As TaskInfos
public sealed class TaskInfos : DTSReadOnlyCollectionBase
public ref class TaskInfos sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type TaskInfos =  
    class 
        inherit DTSReadOnlyCollectionBase 
    end
public final class TaskInfos extends DTSReadOnlyCollectionBase

O tipo TaskInfos expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Herdado de DTSReadOnlyCollectionBase.)
Propriedade pública IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Herdado de DTSReadOnlyCollectionBase.)
Propriedade pública Item Retrieves a TaskInfo from the collection.
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Herdado de DTSReadOnlyCollectionBase.)

Início

Métodos

  Nome Descrição
Método público Contains Returns a Boolean that indicates whether the items in the collection can be accessed using indexing without throwing an exception.
Método público CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Herdado de DTSReadOnlyCollectionBase.)
Método público Equals (Herdado de Object.)
Método público GetEnumerator Retrieves a TaskInfoEnumerator for use in iterating over the TaskInfos collection.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

The TaskInfos collection contains a TaskInfo object for each task installed on the local computer. This object cannot be instantiated directly and is accessed through the Application object.

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

Namespace Microsoft.SqlServer.Dts.Runtime