JAMS Developer Guide
Exists(String) Method


MVPSI.JAMS Namespace > Job Class > Exists Method : Exists(String) Method
Job Name.
Test to determine if a given Job exists on the default server.
Syntax
'Declaration
 
Public Overloads Shared Function Exists( _
   ByVal jobName As System.String _
) As System.Boolean
'Usage
 
Dim jobName As System.String
Dim value As System.Boolean
 
value = Job.Exists(jobName)
public static System.bool Exists( 
   System.string jobName
)

Parameters

jobName
Job Name.

Return Value

True if the Job exists and the user has Inquire access to it.
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