JAMS Developer Guide
Exists(String,Int32,Server) Method


MVPSI.JAMS Namespace > Job Class > Exists Method : Exists(String,Int32,Server) Method
Job Name.
Job ID.
JAMS Server.
Test to determine if a given Job exists on the specified server. You must provide either the Job Name or Job ID argument.
Syntax
'Declaration
 
Public Overloads Shared Function Exists( _
   ByVal jobName As System.String, _
   ByVal jobID As System.Integer, _
   ByVal js As Server _
) As System.Boolean
'Usage
 
Dim jobName As System.String
Dim jobID As System.Integer
Dim js As Server
Dim value As System.Boolean
 
value = Job.Exists(jobName, jobID, js)
public static System.bool Exists( 
   System.string jobName,
   System.int jobID,
   Server js
)

Parameters

jobName
Job Name.
jobID
Job ID.
js
JAMS Server.

Return Value

True if the Job exists.
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
Overload List