Visual Basic (Declaration) | |
---|---|
Public Overloads Function GetStatus( _ ByRef serverStatus As SrvStatus _ ) As Integer |
C# | |
---|---|
public int GetStatus( out SrvStatus serverStatus ) |
Parameters
- serverStatus
- OUT: current server status
Return Value
HRESULT success/error code
If the client relies on asynchronous refresh and does not periodically access the server,
then it should periodically call GetStatus to determine that the server is still connected
and available.