ObjectProxy (ADO/WFC syntax)

Applies to: Access 2013 | Access 2016

An ObjectProxy object represents a server, and is returned by the createObject method of the DataSpace object. The ObjectProxy class has one method, call, which can invoke a method on the server and return an object resulting from that invocation.

package com.ms.wfc.data

Methods

Call method

Invokes a method on the server represented by the ObjectProxy. Optionally, method arguments may be passed as an array of objects.

Syntax

public Object ObjectProxy .call( String method  ) 
public Object ObjectProxy .call( String method , Object[] args ) 

Return value

Object

  • An object resulting from invoking the method.

Parameters

ObjectProxy

  • An ObjectProxy object that represents the server.

method

  • A String, containing the name of the method to invoke on the server.

args

  • Optional. An array of objects that are arguments to the method on the server. Java data types are automatically converted to data types suitable for use on the server.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.