Used by an object to obtain a reference to itself that's safe to pass outside its context.
Syntax
Set safeobject = SafeRef(Me)
Part
safeobject
An object variable representing the current object that's safe to pass to another object or client.
Remarks
When an MTS object wants to pass a self-reference to a client or another object (for example, for use as a callback), it should always call SafeRef first and then pass the reference returned by this call.
To use the SafeRef function, you must set a reference to Microsoft Transaction Server Type Library (mtxas.dll).
See Also