create_operation


Description:

public virtual 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:

  • named values which ID is a path in the resulting GdaServerOperation object, to initialize some value
  • named values which may change the contents of the GdaServerOperation, see this section for more information

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




2022 vala-language.org