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

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: 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: 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

Show:
© 2015 Microsoft