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


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

Parameters

agentName
Agent Name.
agentID
Agent ID.
js
JAMS Server.

Return Value

True if the Agent 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

Agent Class
Agent Members
Overload List