VirtualBox Main API
Managed object reference. More...
|void||getInterfaceName ([retval] out wstring return)|
|Returns the name of the interface that this managed object represents, for example, "IMachine", as a string. More...|
|Releases this managed object reference and frees the resources that were allocated for it in the webservice server process. More...|
Managed object reference.
Only within the webservice, a managed object reference (which is really an opaque number) allows a webservice client to address an object that lives in the address space of the webservice server.
Behind each managed object reference, there is a COM object that lives in the webservice server's address space. The COM object is not freed until the managed object reference is released, either by an explicit call to IManagedObjectRef::release or by logging off from the webservice (IWebsessionManager::logoff), which releases all objects created during the webservice session.
Whenever a method call of the VirtualBox API returns a COM object, the webservice representation of that method will instead return a managed object reference, which can then be used to invoke methods on that object.
|void IManagedObjectRef::getInterfaceName||(||[retval] out wstring||return||)|
Returns the name of the interface that this managed object represents, for example, "IMachine", as a string.
Releases this managed object reference and frees the resources that were allocated for it in the webservice server process.
After calling this method, the identifier of the reference can no longer be used.