FoxDataObjects

Object-Relational Mapping Tool for Visual FoxPro®

 IsOleServer   Property

 

 

Returns .T. if FDO is running in an OLE COM server. Read only.

 Server.IsOleServer

 

Property Values

 

Boolean

 
  The settings for the IsOleServer property are:
Setting Description
(True) .T. FDO is running as a COM server. StartMode=1|2|3|5
(False) .F. FDO is not running as a COM server. StartMode=0|4

Remarks

  This property indicates if the VFP instance where FDO is running has been started as a COM server. At server object initialization, the Server.StartMode property is set with the _VFP.StartMode property value. Based on this value the IsOleServer flag is set to .T. when the StartMode value is 1,2,3 or 5.

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