ServerName property
Description | (Read-only) Returns the name of the server that the client connected to via the Connect() method. |
Syntax | ServerName As String |
Remarks | When you access this property, you will get the value that the automation server has cached locally. The ServerName is empty if the client is not connected to a Data Access Server. |
Example | Dim sServerName As String sServerName = MyOPCServer.ServerName |
Provide Feedback