Export (0) Print
Expand All

Project.OpenProject Method (String, Project.AccessMode, String, IDTSEvents)

Opens a password protected project in the specified path and specifies an event listener to receive events.

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

public static Project OpenProject(
	string projectFileName,
	Project..::.AccessMode accessMode,
	string projectPassword,
	IDTSEvents events
)

Parameters

projectFileName
Type: String
The project file path.
accessMode
Type: Microsoft.SqlServer.Dts.Runtime.Project.AccessMode
The access in which to open the project.
projectPassword
Type: String
The password used in the project.
events
Type: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
An IDTSEvents interface to receive events.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Project
An opened project.

Community Additions

ADD
Show:
© 2014 Microsoft