JAMS Developer Guide
Resource Method (WaitFor)


MVPSI.JAMS Namespace > WaitFor Class : Resource Method
Sends a message to the JAMS Scheduler telling it that we want to wait until the specified quantity of a resource is available.
Syntax
'Declaration
 
Public Sub Resource( _
   ByVal resourceName As System.String, _
   ByVal quantity As System.Integer _
) 
'Usage
 
Dim instance As WaitFor
Dim resourceName As System.String
Dim quantity As System.Integer
 
instance.Resource(resourceName, quantity)
public void Resource( 
   System.string resourceName,
   System.int quantity
)

Parameters

resourceName
quantity
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

WaitFor Class
WaitFor Members