Export (0) Print
Expand All

JobCollection.Item Property (String, Int32)

Gets an Job object in the collection by name and category.

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

public Job this[
	string name,
	int categoryID
] { get; }

Parameters

name
Type: String
A String value that specifies the name of the Job object in the JobCollection collection.
categoryID
Type: Int32
An Int32 value that specifies the category for the job.

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.Job
An Job object value that represents the job.

Using Collections

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.

Community Additions

ADD
Show:
© 2014 Microsoft