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 SetModelName

Syntax
Object.SetModelName(ModelName As String)
Parameters
ModelName
The name of the resource model.
Description
Sets the resource model name.
Remarks
Do not call this method outside the SetDefaultConfiguration(...) function.
Error code
S_OK

Method SetCycleTime

Syntax
Object.SetCycleTime(CycleTime As Double)
Parameters
CycleTime
The cycle time of the resource model.
Description
Sets the resource model cycle time.
Remarks
Do not call this method outside the SetDefaultConfiguration(...) function.
Error code
S_OK

Example

Table 20. Advanced Object Method general settings examples
Visual Basic example:

Svc.SetModelName("ModelName")
Svc.SetCycleTime(30)

JavaScript example:

Svc.SetModelName("ModelName");
Svc.SetCycleTime(30);


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