Classe TaskInfos

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class TaskInfos _
    Inherits DTSReadOnlyCollectionBase
'Utilizzo
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

Nel tipo TaskInfos sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. Ereditato da DTSReadOnlyCollectionBase.
Proprietà pubblica IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). Ereditato da DTSReadOnlyCollectionBase.
Proprietà pubblica Item Retrieves a TaskInfo from the collection.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. Ereditato da DTSReadOnlyCollectionBase.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Contains Returns a Boolean that indicates whether the items in the collection can be accessed using indexing without throwing an exception.
Metodo pubblico CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. Ereditato da DTSReadOnlyCollectionBase.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetEnumerator Retrieves a TaskInfoEnumerator for use in iterating over the TaskInfos collection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime