CloseAndUpdate Method parses the TD and creates Variables from the TD properties. If the built-in Close Method is called instead, all changes are discarded.
Signature
CloseAndUpdate (
[in] 0:UInt32 FileHandle);
Table 15 – CloseAndUpdate Method Arguments
|
Argument |
Description |
|
FileHandle |
The handle for a file opened for writing. |
Method Result Codes
|
Result Code Symbolic Id |
Description |
|
Bad_InvalidState |
The file was not opened for writing. |
|
Bad_DecodingError |
The WoT Thing Description could not be parsed. |
|
Bad_NotSupported |
The TD is valid but cannot be mapped to OPC UA. |
|
Bad_NotFound |
The asset was not found on the network |
|
Bad_UserAccessDenied |
The session does not have the permissions required. |