|
FoxDataObjects |
Object-Relational Mapping Tool for Visual FoxPro® |
|
|
ConnectedSessionsOnly Property |
||
|---|---|---|
|
Determines if Server.NewSession method can return a disconnected session object.
|
|||||||||
|
Property Values |
|||||||||
|
lValue |
|||||||||
|
|||||||||
|
Remarks |
|||||||||
| When this property is set to .T. ,
the Server.NewSession method will only return a session object if a
connection is successfully established with the datasource. If session object
can not connect, the Server.NewSession method discards the session
object and returns a .NULL. value. When this property is set to .F., the Server.NewSession method will skip all connection steps and will return a disconnected session object. In such case, the connection to the data source must be manually established by calling the Session.Connect method further in your code. |
|||||||||
|
See Also |
|||||||||
|
Server.NewSession method | Session.Connect method |
|||||||||
| 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