setPointLock
setPointLock — sets the lock attributes of a DataHub point.
ST_STATUS setPointLock( | point, | |
locked); |
CDataHubPoint& point;bool locked;ST_STATUS setPointLock( | pointname, | |
locked); |
LPCTSTR pointname;bool locked;Exception setPointLock( | point, | |
locked); |
DataHubPoint point;boolean locked;Exception setPointLock( | pointname, | |
locked); |
String pointname;boolean locked;Exception setPointLock( | point, | |
locked); |
DataHubPoint point;bool locked;Exception setPointLock( | pointname, | |
locked); |
String pointname;bool locked;pointA
DataHubPoint object. The name
and security members must be valid.
pointnameThe name of the point.
lockedIf TRUE, the point will have its locked
attribute set, otherwise the locked attribute is cleared.
ST_OK if the command was successfully sent to the
DataHub instance. Since the command is sent asynchronously, the actual
success or failure of the command must be determined through the onSuccess
or onError message handlers.
ST_NO_TASK if a connection to the DataHub instance
does not exist.
ST_ERROR if the connection socket is unable to
send the message.
This method sets the lock attributes of a DataHub point.