Accessing AVEVA Enterprise SCADA Net Configuration Data Store
- Last UpdatedJan 22, 2021
- 1 minute read
The AVEVA Enterprise SCADA Net Configuration Data Store is used to store system-wide information on security, host names, and other information. It resides in Active Directory Lightweight Directory Services (AD LDS)
About this task
To access it from your component, you add a reference to OASySDNA.Common.
To access AVEVA Enterprise SCADA Net Configuration Data Store
-
Click View > Solution Explorer.
-
Expand your project until you see the References item.
-
Right-click References, and select Add Reference.
-
Go to the .NET tab, and double-click on OASySDNA.Common.
-
Click OK.
-
Go to the <name>Processor file and add the following line at the top: using OASySDNA.Common.Config;
Note: The following example gets the virtual host name of the RealTime service.
OASySDNA.Common.Config.DNAService dnaService = new DNAService();dnaService.Attach("MYSYSTEM","Realtime");string szRealtimeHost = dnaService.GetVirtualHostName();