Test to determine if a given Agent exists on the specified server. You must provide either the Agent Name or Agent ID argument.
'Declaration
Public Overloads Shared Function Exists( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal 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 ,
System.int ,
Server
)
Parameters
- agentName
- Agent Name.
- agentID
- Agent ID.
- js
- JAMS Server.
Return Value
True if the Agent exists .
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