JAMS 6.x Help
ExistsInPath Method (Job)


The Job ID of the validated Job.
The ID of the Folder to search from.
The name of the Job to search for.
The JAMS Server where the search will occur
Test to determine if a Job can be found within the specified Folder's search path.
Syntax
'Declaration
 
Public Shared Function ExistsInPath( _
   ByRef jobID As System.Integer, _
   ByVal folderID As System.Integer, _
   ByVal jobName As System.String, _
   ByVal js As Server _
) As System.Boolean
'Usage
 
Dim jobID As System.Integer
Dim folderID As System.Integer
Dim jobName As System.String
Dim js As Server
Dim value As System.Boolean
 
value = Job.ExistsInPath(jobID, folderID, jobName, js)
public static System.bool ExistsInPath( 
   ref System.int jobID,
   System.int folderID,
   System.string jobName,
   Server js
)

Parameters

jobID
The Job ID of the validated Job.
folderID
The ID of the Folder to search from.
jobName
The name of the Job to search for.
js
The JAMS Server where the search will occur

Return Value

True if the Job was found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Job Class
Job Members