Generic server callback method.
Set the OPC server state value, that is returned in client GetStatus calls.
| 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_OKRequirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family