Classe JobCollection

The JobCollection class represents a collection of Job objects that represent all the jobs defined on the JobServer object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Class JobCollection _
    Inherits ArrayListCollectionBase
'Utilisation
Dim instance As JobCollection
public class JobCollection : ArrayListCollectionBase
public ref class JobCollection : public ArrayListCollectionBase
type JobCollection =  
    class
        inherit ArrayListCollectionBase
    end
public class JobCollection extends ArrayListCollectionBase

Notes

A JobCollection object can be used to gain access to a set of jobs. You can use the Item()()()() property to return a specific Job object.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.