Equinox Online Help - Language Reference - A to Z

Home

IsNetwork

Applies to
SyntaxIsNetwork
Action[Function] Determines on what type of machine the method is running.
ScopeUsable anywhere.
Notes

This function returns the following values:

  • 0 Single user
  • 3 Interactive client
  • 5 Server remote task
  • +16 Indicates a secondary activity (invoked via the Shift key and navigator/ menu option, etc)
  • +32 Indicates a webserver method
  • +64 Indicates a 64 bit method.
CategoryClient - Server
See Also ConnectionID, FirstAttachedUser, IsUserAttached, IsUserGroupAttached, NextAttachedUser, RemoveAttachedUser
Example

The following method executes a command to tidy a database if it has been corrupted but only if the method is running a single user application.

If IsNetwork() = 0 Then Execute VerifyDatabase