Application::LoadFromSqlServer2 Method (String^, Object^, IDTSEvents^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public:
Package^ LoadFromSqlServer2(
	String^ packagePath,
	Object^ connectionObject,
	IDTSEvents^ events
)

Parameters

packagePath
Type: System::String^

The name and path of the package to load.

connectionObject
Type: System::Object^

The connection object.

events
Type: Microsoft.SqlServer.Dts.Runtime::IDTSEvents^

An IDTSEvents interface.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime::Package^

The loaded package.

Return to top
Show: