setPointSecurity
setPointSecurity — sets the security attributes of a DataHub point.
ST_STATUS setPointSecurity( | point, | |
security); |
CDataHubPoint& point;int security;ST_STATUS setPointSecurity( | pointname, | |
security); |
LPCTSTR pointname;int security;Exception setPointSecurity( | point, | |
security); |
CDataHubPoint& point;int security;Exception setPointSecurity( | pointname, | |
security); |
String pointname;int security;pointA
DataHubPoint object. The name
and security members must be valid.
pointnameThe name of the point.
securityThe new security level to which the DataHub point will be set.
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 security attributes of a DataHub point. An update to a DataHub
point will be rejected unless the security level associated with the new point
value is greater than or equal to the corresponding DataHub point. The default DataHub
point security level is 0.