Generic server callback method. Supported in the Professional version only.
Get information about the current server status.
Visual Basic (Usage) | ![]() |
---|---|
Dim state As OpcServerState Dim instanceCount As Integer Dim groupCount As Integer() GenericServer.GetServerInfo(state, instanceCount, groupCount) |
C# | |
---|---|
public static void GetServerInfo( out OpcServerState state, out int instanceCount, out int[] groupCount ) |
Parameters
- state
- Current server status
- instanceCount
- current number of server instances ( connected clients)
- groupCount
- Array with the current number of groups for each currently existing server instance (connected client).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2