IBM Tivoli Software IBM Tivoli Software

[ Bottom of Page | Previous Page | Next Page | Contents | Index ]


General settings

The following methods help you to express functions for resource model configuration.

Method GetModelName

Syntax
Object.GetModelName() As String
Description
Returns the name of the resource model.
Error code
S_OK

Method GetCycleTime

Syntax
Object.GetCycleTime() As Double
Description
Returns the cycle time value.
Error code
S_OK

Example

Table 13. Basic Object Method general settings examples
Visual Basic example:

Dim modelName As String
modelName = Svc.GetModelName()

JavaScript example:

var modelName;
modelName = Svc.GetModelName();


[ Top of Page | Previous Page | Next Page | Contents | Index ]