JobCollection.Add Method (Job)


Adds the specified job to the job collection.

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

public void Add(
	Job job


Type: Microsoft.SqlServer.Management.Smo.Agent.Job

A T:Microsoft.SqlServer.Managment.Smo.Agent.Job object that specifies the job to add to the collection.

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.

Return to top