The ProgId of all OPCDA servers is returned as a string array.
This array can e.g. be directly displayed in a Windows control.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub GetServerList( _ ByRef Servers As String(), _ ByRef ClsIDs As Guid() _ ) |
Parameters
- Servers
- OUT: Array with ProgIds of the enumerated OPC DA servers
- ClsIDs
- OUT: Array with CLSIDs of the enumerated OPC DA servers