ATL Attributes: db_command

Executes an OLE DB command

Syntax

[
    define_attribute = "db_command",
    argument_list = {
        "db_command",
        "name",
        "source_name",
        "hresult",
        "bindings",
        "bulk_fetch"
    },
    argument_type ("bulk_fetch") = eIntegerValue,
    required_arguments = "db_command",
    default_value ("bulk_fetch") = "1",
    help_string = "Executes an OLE DB command",
    help_string ("db_command") = "OLE DB command",
    help_string ("name") = "Name of rowset handle",
    help_string ("source_name") = "Database or session on which the command executes",
    help_string ("hresult") = "HRESULT of this database command",
    help_string ("bindings") = "The variables to bind to",
    usage = eClassUsage | eCoClassUsage | eCoClassMemberUsage | eCoClassMethodUsage | eLocalUsage | eMemberUsage | eMethodUsage | eStructUsage,
    group = eDBConsumerGroup,
    shipping = true,
    variable_args = true
];