Project.OpenProject Method (String, IDTSEvents)

 

Opens an existing project in the specified file.

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

public static Project OpenProject(
	string projectFileName,
	IDTSEvents events
)

Parameters

projectFileName
Type: System.String

The project file path.

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

An object that implements the IDTSEvents interface for firing events (errors, warnings, and so on) during opening.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Project

An opened project.

Return to top
Show: