I found an example in the PIProgramming101-SampleCode
Dim _pisdk As PISDK.PISDK = New PISDK.PISDK()
Dim _server As PISDK.Server = _pisdk.Servers("PIENF")
' PI Server -> PI Point
Dim _point As PISDK.PIPoint = _server.PIPoints("11MBD10CY001_XQ01")
' PI Point -> Attributes (Descriptor)
Dim _descriptor As String = _point.PointAttributes("descriptor").Value.ToString()
I got error "Unable to open a session on a server, the username and password maybe incorrect"
How to pass the correct username and password to open method?
I just found the answer.
Please ignore my question. Thanks
Thanks for closing the loop and glad you could resolve the issue on your own!