Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.62 KB

File metadata and controls

54 lines (45 loc) · 1.62 KB
title ObjectProxy (ADO - WFC Syntax) | Microsoft Docs
ms.prod sql
ms.prod_service drivers
ms.service
ms.component ado
ms.technology
drivers
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.suite sql
ms.tgt_pltfrm
ms.topic article
apitype COM
helpviewer_keywords
ObjectProxy collection [ADO]
ms.assetid f68f58bc-ad28-46cc-9fb3-099e1a678397
caps.latest.revision 9
author MightyPen
ms.author genemi
manager craigg
ms.workload Inactive

ObjectProxy (ADO - WFC Syntax)

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 (ADO/WFC Syntax)

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.( String method )  
public Object ObjectProxy.( String method, Object[] args)  

Returns

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.