Generic server callback method. Supported in the Professional version only.
Get information about the current server status.
Visual Basic (Declaration) | |
---|---|
Public Shared Sub GetServerInfo( _ ByRef state As OpcServerState, _ ByRef instanceCount As Integer, _ ByRef groupCount As Integer() _ ) |
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 ) |
Managed Extensions for C++ | |
---|---|
public: static void GetServerInfo( [PARAMFLAG::Out] OpcServerState state, [PARAMFLAG::Out] int instanceCount, [PARAMFLAG::Out] int[] groupCount ) |
C++/CLI | |
---|---|
public: static void GetServerInfo( [Out] OpcServerState state, [Out] int instanceCount, [Out] array<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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family