Alceu Rodrigues de Freitas Junior > Win32-SqlServer-DTS > Win32::SqlServer::DTS::TaskFactory

Download:
Win32-SqlServer-DTS-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Win32::SqlServer::DTS::TaskFactory - a Perl abstract class to create DTS Package Tasks in a polymorphic way

SYNOPSIS ^

    use Win32::SqlServer::DTS::TaskFactory;

        # $task is a unknow DTS Task object
    my $new_task = Win32::SqlServer::DTS::TaskFactory::create($task);
    print $new_task->to_string, "\n";

DESCRIPTION ^

Win32::SqlServer::DTS::TaskFactory creates Win32::SqlServer::DTS::Task subclasses objects depending on the type of the DTS Package Task object passed as a reference.

EXPORT

Nothing.

METHODS

create

Expects a DTSTask object passed as a parameter.

Returns a object from a subclass of Win32::SqlServer::DTS::Task depending on the CustomTaskID property from the Task object passed as a parameter.

SEE ALSO ^

AUTHOR ^

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

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 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.

syntax highlighting: