Compartilhar via


Classe JobCollection

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Class JobCollection _
    Inherits ArrayListCollectionBase
'Uso
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

Comentários

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

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.