GETOBJECT

Action

GetObject gets an object either from a file stored on disk and returns a handle to the object.

 

Syntax

GETOBJECT ("objectname" )

 

Parameters

ObjectName

Full path and name of the file containing the object to retrieve. If pathname is omitted, class is required.

 

Returns

If the function succeeds it returns the handle to the object. If the function fails, it returns 0, and @ERROR will be set to a relevant errorcode.

Example

$ObjectHandle = GetObject("LDAP://localhost")