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

 

Opens a password protected project from an I/O stream 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(
	Stream projectStream,
	Project.AccessMode accessMode,
	string projectPassword,
	IDTSEvents events
)

Parameters

projectStream
Type: System.IO.Stream

The I/O stream on which to open the project.

accessMode
Type: Microsoft.SqlServer.Dts.Runtime.Project.AccessMode

The access in which to open the project.

projectPassword
Type: System.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.

Return to top
Show: