|
FoxDataObjects |
Object-Relational Mapping Tool for Visual FoxPro® |
|
|
OnInit Event |
||
|---|---|---|
|
Occurs on server destroy event.
|
||
|
Remarks |
||
|
In order to use custom code for server level events, the server object must be created from a custom fdoServer subclass. You can implement custom code on the corresponding subclass methods.
|
||
| Example | ||
|
oServer=CREATEOBJECT("MyServer")
...
DEFINE CLASS MyServer AS fdoServer OF fdo MyServerAddedProperty=0 ... PROCEDURE OnDestroy THIS.MyServerAddedProperty=1 THIS.CloseAllServerResources() ? "Server object is going to be destroyed..." ENDPROC ... ENDDEFINE
|
||
|
See Also |
||
|
Server.NewSession method | Server.AfterInit event | Server.OnLoad event | Server.OnInit event |
||
| 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