Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.LoadFromSqlServer2 Method (String, Object, IDTSEvents)


Applies To: SQL Server 2016 Preview

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


Type: System.String

The name and path of the package to load.

Type: System.Object

The connection object.

Type: Microsoft.SqlServer.Dts.Runtime.IDTSEvents

An IDTSEvents interface.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Package

The loaded package.

Return to top
© 2015 Microsoft