IDataConnector

class IDataConnector

Bases: ImpactCOMWrapperBase

Description:

Represents a data connector.

Remarks:

Introduced in Impact 11.0.1.5

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property argument_count

Gets argument_count.

Description:

The number of arguments

Returns:

The value of argument_count.

Return type:

argument_count (int)

property type

Gets Type.

Description:

The type of data connector.

Returns:

The value of Type.

Return type:

type (str)

argument_name(index)
Description:

Gets the name of the argument with the specified index.

Parameters:

index (int) – Specifies the index of the argument.

clear_arguments()
Description:

Clears all the arguments.

default_arguments()
Description:

Resets all arguments to their default values.

get_argument(index)
Description:

Gets the value of the argument with the specified index.

Parameters:

index (any) – Specifies the index of the argument.

set_argument(index, value)
Description:

Sets the value of the argument with the specified index.

Parameters:
  • index (any) – Specifies the index of the argument.

  • value (str) – The new value for the argument.

Examples