JobServer.Jobs Propiedad
Represents a collection of Job objects. Each Job object represents a job defined on SQL Server Agent.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<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 de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Agent.JobCollection
A JobCollection that represents the jobs defined on SQL Server Agent.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent