DBWIsDBWServerActive

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem >

DBWIsDBWServerActive

Description

Returns the state of the DBWServer/DBWAclServer module.

Syntax

Function DBWIsDBWServerActive()

Return Values

1

if the DBWServer or the DBWAclServer are active in PDM options

0

otherwise

Example

if DBWIsDBWServerActive() then
 DBWMsgbox "The DBWServer/DBWAclServer is enabled"
else
 DBWMsgbox "The DBWServer/DBWAclServer is disabled"
end if