Export (0) Print
Expand All

Application.LoadFromSqlServer2 Method

This API supports the SQL Server 2012 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: String
The name and path of the package to load.
connectionObject
Type: 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.

Community Additions

ADD
Show:
© 2014 Microsoft