Application.LoadFromSqlServer2(String, Object, IDTSEvents) Application.LoadFromSqlServer2(String, Object, IDTSEvents) Application.LoadFromSqlServer2(String, Object, IDTSEvents) Method

Definition

Loads a package from SQL Server by specifying the server name, user name, and password.

public:
 Microsoft::SqlServer::Dts::Runtime::Package ^ LoadFromSqlServer2(System::String ^ packagePath, System::Object ^ connectionObject, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public Microsoft.SqlServer.Dts.Runtime.Package LoadFromSqlServer2 (string packagePath, object connectionObject, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
Public Function LoadFromSqlServer2 (packagePath As String, connectionObject As Object, events As IDTSEvents) As Package

Parameters

packagePath
String String String

The name and path of the package to load.

connectionObject
Object Object Object

The connection object.

Returns

The loaded package.

Applies to