'Usage
Dim instance As _EasyUAClientApplication Dim filePath As String instance.ExportRegisteredApplicationToFile(filePath)
Parameters
- filePath
- The name of the file into which the data will be exported.
'Usage
Dim instance As _EasyUAClientApplication Dim filePath As String instance.ExportRegisteredApplicationToFile(filePath)
Exception | Description |
---|---|
System.ArgumentNullException | A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. |
OpcLabs.EasyOpc.UA.OperationModel.UAException | The OPC UA operation has failed. |
System.Exception | An error has occurred during method execution. |
If the specified file does not exist, it is created; if it does exist and it is not read-only, the contents are overwritten.
This method exports the security settings in the format used by the GDS client from OPC Foundation (Windows desktop sample). It uses the RegisteredApplication schema (which is not part of the OPC UA standard).