The getResourceAvail function returns the value of the free field of a resource in a resources object.
Syntax
nAvail = getResourceAvail(resourcePath, resourceName)
Arguments
Specifies the path of the resource object.
Specifies the name of the resource in the resources object whose free field needs to be returned.
Return Value
This function returns the number of resources available from the specified resource in the resource object found on the specified path.
Example
nAvail = getResourceAvail("/Resources/Locks", "DiskLock");
|
Copyright © 2014 CA.
All rights reserved.
|
|