The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Win32::SqlServer::DTS::Package::Step::Result - a Perl class to represent a DTS Package Step execution result.

SYNOPSIS

    use Win32::SqlServer::DTS::Package::Step::Result;

DESCRIPTION

Win32::SqlServer::DTS::Package::Step::Result does not exists in the regular MS SQL Server DTS 2000 API.

EXPORT

Nothing.

METHODS

new

Instantiates a new Win32::SqlServer::DTS::Package::Step::Result. Expects as a parameter a hash reference with the following keys:

  • error_code: scalar value.

  • source: scalar value.

  • description: scalar value.

  • step_name: scalar value.

  • is_success: "boolean". Accepts 0 or 1.

  • exec_status: scalar value.

to_string

Returns the DTS:Package::Step::Result as a pure text content. Useful for simple reports.

to_xml

Returns the DTS:Package::Step::Result as an XML content.

is_success

Returns true if the step was executed successfully.

SEE ALSO

  • Win32::SqlServer::DTS::Package::Step documentation.

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Alceu Rodrigues de Freitas Junior

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.