The purpose of the GetStatus service is:
- It provides a common mechanism for checking the status of the server - whether it is operational or in need of maintenance.
- It provides a common mechanism for obtaining vendor-specific information about the server that is not available through the other OPC services (version number, etc).
- Provides insight for clients as to the relative time synchronization between the client and server. As an example, this information is useful for Read requests.
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As OpcXmlDA Dim asyncResult As IAsyncResult Dim Status As ServerStatus Dim value As ReplyBase value = instance.EndGetStatus(asyncResult, Status) |
C# | |
---|---|
public ReplyBase EndGetStatus( IAsyncResult asyncResult, out ServerStatus Status ) |
Parameters
- asyncResult
- The reference to the pending asynchronous request to wait for.
- Status
- Returned server status information.
Return Value
Container of information that represents the basic information for most responses.Target Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family
>