Win32::SqlServer::DTS::Assignment::DestinationFactory - abstract class to generate Win32::SqlServer::DTS::Assignment::Destination subclasses depending on the Destination string.
sub get_destination {
my $self = shift; return Win32::SqlServer::DTS::Assignment::DestinationFactory->create( $self->{destination} );
}
Win32::SqlServer::DTS::Assignment::DestinationFactory instantiates and return new Win32::SqlServer::DTS::Assigment::Destination subclasses depending on the Destination string passed as a reference.
Win32::SqlServer::DTS::Assignment::DestinationFactory
Win32::SqlServer::DTS::Assigment::Destination
Nothing.
Expects a destination string as a parameter. Such string is usually obtained from the destination attribute in a Win32::SqlServer::DTS::Assignment object. Considering that there is no method to invoke such attribute value directly (although one could use the method get_properties to fetch that), such use is recomended to be left only internally by a Win32::SqlServer::DTS::Assignment object.
destination
Win32::SqlServer::DTS::Assignment
get_properties
Returns a Win32::SqlServer::DTS::Assignment::Destination subclass depending on the string passed as a parameter. If it fails to identify the subclass, it generates a warning and returns undef.
Win32::SqlServer::DTS::Assignment::Destination
undef
Win32::SqlServer::DTS::Assignment::Destination at perldoc, as well it's subclasses.
perldoc
MSDN on Microsoft website and MS SQL Server 2000 Books Online are a reference about using DTS' object hierarchy, but one will need to convert examples written in VBScript to Perl code.
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
Copyright (C) 2007 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.
To install Win32::SqlServer::DTS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::SqlServer::DTS
CPAN shell
perl -MCPAN -e shell install Win32::SqlServer::DTS
For more information on module installation, please visit the detailed CPAN module installation guide.