DANSrvAE Reference
GetServerInfo Method
See Also  Send comments on this topic.
NSPlugin Assembly > NSPlugin Namespace > GenericServer Class : GetServerInfo Method

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).

Glossary Item Box

Generic server callback method. Supported in the Professional version only.

Get information about the current server status.

Syntax

Visual Basic (Declaration) 
Public Shared Sub GetServerInfo( _
   ByRef state As OpcServerState, _
   ByRef instanceCount As Integer, _
   ByRef groupCount As Integer() _
) 
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).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

© 2004-2017 Advosol Inc. All Rights Reserved.