DANSrv Reference
GetServerInfo Method
See Also  Send Feedback
NSPluginNet4 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 (Usage)Copy Code
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).

Requirements

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

See Also

© 2002-2017 Copyright Advosol Inc. All Rights Reserved.