Contains Method (String)
Collapse the table of content
Expand the table of content

JobCollection.Contains Method (String)

 

Determines whether the collection contains a job with the specified name.

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

public bool Contains(
	string name
)

Parameters

name
Type: System.String

A String value that specifies the name of the job to search for.

Return Value

Type: System.Boolean

A Boolean that is true if the collection contains a job with the specified name. Otherwise, false.

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
Show:
© 2016 Microsoft