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

newState
An OpcServerState enumerator value.

Glossary Item Box

Generic server callback method.

Set the OPC server state value, that is returned in client GetStatus calls.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetServerState( _
   ByVal newState As OpcServerState _
) 
C# 
public static void SetServerState( 
   OpcServerState newState
)

Parameters

newState
An OpcServerState enumerator value.

Return Value

Always S_OK

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.