JAMS Developer Guide
Exists(String) Method


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

Parameters

resourceName
Resource Name.

Return Value

True if the Resource exists and the user has 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

Resource Class
Resource Members
Overload List