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


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

Parameters

resourceName
Resource Name.
resourceID
Resource ID.
js
JAMS Server.

Return Value

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

Resource Class
Resource Members
Overload List