Hi again. Last time we found how to choose AF database or PI Data Archive. I will be working just with AF Databases from now. If you want, I can make some chapters about PI Data Archives too, but I would like to focus on AF for now.
So what we did to choose the database:
1. We added information that we would like to use these classes:
'W-SRV1' is my server name and 'test' is name of the database.
Today I would like to show how to print some information about selected server and database to the command line.
For this we will need to know how to use Consolas.Write() and Consolas.WriteLine() methods. WriteLine print sthe content to the new line so it is useful.You can put what you want into braces, string or variable. If you want to put some variable into a string, you can use this: