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_OKTarget Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family