Compartilhar via


Propriedade do RDL JobServer.Jobs

Represents a collection of Job objects. Each Job object represents a job defined on SQL Server Agent.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Job))> _
Public ReadOnly Property Jobs As JobCollection 
    Get
'Uso
Dim instance As JobServer 
Dim value As JobCollection 

value = instance.Jobs
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Job))]
public JobCollection Jobs { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Job))]
public:
property JobCollection^ Jobs {
    JobCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Job))>]
member Jobs : JobCollection
function get Jobs () : JobCollection

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Agent.JobCollection
A JobCollection that represents the jobs defined on SQL Server Agent.

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobServer Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

sp_help_job (Transact-SQL)