FoxDataObjects

Object-Relational Mapping Tool for Visual FoxPro®

 StartMode   Property

 

 

Returns a numeric value indicating how the Visual FoxPro instance where FDO is running was started. Read only.

 Server.StartMode

 

Property Values

 

Numeric

 
  The settings for the StartMode property are:
Setting Description
0 FDO runs on a development version of Visual FoxPro started in an interactive session.
1 FDO runs on a Visual FoxPro instance started as an application object.
2 FDO runs on a Visual FoxPro instance started as an out-of-process .exe automation server.
3 FDO runs on a Visual FoxPro instance started as an in-process .dll automation server.
4 FDO runs on a distributable .app or .exe file
5

FDO runs on a Visual FoxPro instance started as an in-process .dll automation server for multithreaded use.

 

Remarks

  This property indicates how the VFP instance where FDO is running has been started. At server object initialization, the Server.StartMode property is set with the _VFP.StartMode property value.

Business components and client code can check for this value to enable/disable functionality that depends on how the business/data access layer is running.

Applies to: Server object

Send feedback on this topic to RunAhead Technologies

For Technical support and product issues please contact us at support@foxdataobjects.com or visit http://www.foxdataobjects.com

Copyright (c) 2000-2005 RunAhead Technologies