Udostępnij za pośrednictwem


JobServer.Jobs Property

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 (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(Job))> _
Public ReadOnly Property Jobs As JobCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(Job))] 
public JobCollection Jobs { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(Job))] 
public:
property JobCollection^ Jobs {
    JobCollection^ get ();
}
/** @property */
public JobCollection get_Jobs ()
public function get Jobs () : JobCollection

Property Value

A JobCollection that represents the jobs defined on SQL Server Agent.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.