create_operation


Description:

public ServerOperation? create_operation (Connection? cnc, ServerOperationType type, Set? options) throws Error

Creates a new ServerOperation object which can be modified in order to perform the type type of action.

The options can contain: <itemizedlist> <listitem>named values which ID is a path in the resulting GdaServerOperation object, to initialize some value</listitem> <listitem>named values which may change the contents of the GdaServerOperation, see <link linkend="gda-server-op-information-std">this section</link> for more information</listitem> < /itemizedlist>

Parameters:

this

a ServerProvider object

cnc

a Connection object which will be used to perform an action, or null

type

the type of operation requested

options

a list of parameters or null

Returns:

a new ServerOperation object, or null in the provider does not support the type type of operation or if an error occurred