Share via


JobCollection.Add Method

Adds the specified job to the job collection.

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

Syntax

'Declaration
Public Sub Add ( _
    job As Job _
)
'Usage
Dim instance As JobCollection
Dim job As Job

instance.Add(job)
public void Add(
    Job job
)
public:
void Add(
    Job^ job
)
member Add : 
        job:Job -> unit 
public function Add(
    job : Job
)

Parameters

Remarks

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