SetTimeZone()
You can use the SetTimeZone() method
to specify the time zone of an IBMTS2145_Cluster instance. The SetTimeZone()
method belongs to the IBMTS2145_ClusteringService class.
Parameters
Table 277 shows the parameters you can specify for the
SetTimeZone() method:
Table 277. SetTimeZone() parameters
|
Parameter |
Type |
Description |
| Zone |
COP |
Defines the name of the TimeZone to set through an
IBMTS2145_AvailableTimeZone association to the IBMTS2145_ClusteringService
instance |
Return values
The SetTimeZone() method returns one of the following error codes:
- 0: The time zone for the cluster was successfully set.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The submitted time zone is not associated to the clustering service.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.