Share via


Project.OpenProject Method

Definition

Opens an existing project.

Overloads

OpenProject(String, Project+AccessMode, String, IDTSEvents)

Open a password protected project in the specified path, specifying an event listener to receive events.

OpenProject(Stream, Project+AccessMode, String, IDTSEvents)

Open a password protected project from an I/O stream, specifying an event listener to receive events.

OpenProject(String, String, IDTSEvents)

Open a password protected project in the specified path, specifying an event listener to receive events.

OpenProject(Stream, String, IDTSEvents)

Open a password protected project from an I/O stream, specifying an event listener to receive events.

OpenProject(String, String)

Open a password protected project in the specified path.

OpenProject(String, IDTSEvents)

Open a project in the specified path, specifying an event listener to receive events.

OpenProject(Stream, String)

Open a password protected project in the specified path.

OpenProject(Stream, IDTSEvents)

Open a project in the specified path, specifying an event listener to receive events.

OpenProject(String)

Open an existing project in the specified path.

OpenProject(Stream)

Open a project from an IO stream.

OpenProject(String, Project+AccessMode, String, IDTSEvents)

Open a password protected project in the specified path, specifying an event listener to receive events.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::String ^ projectFileName, Microsoft::SqlServer::Dts::Runtime::Project::AccessMode accessMode, System::String ^ projectPassword, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (string projectFileName, Microsoft.SqlServer.Dts.Runtime.Project.AccessMode accessMode, string projectPassword, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
static member OpenProject : string * Microsoft.SqlServer.Dts.Runtime.Project.AccessMode * string * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectFileName As String, accessMode As Project.AccessMode, projectPassword As String, events As IDTSEvents) As Project

Parameters

projectFileName
String

Specifies project file path.

accessMode
Project.AccessMode

The access in which to open the project.

projectPassword
String

Provides project password.

events
IDTSEvents

An IDTSEvents interface to receive events.

Returns

An opened project.

Applies to

OpenProject(Stream, Project+AccessMode, String, IDTSEvents)

Open a password protected project from an I/O stream, specifying an event listener to receive events.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::IO::Stream ^ projectStream, Microsoft::SqlServer::Dts::Runtime::Project::AccessMode accessMode, System::String ^ projectPassword, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (System.IO.Stream projectStream, Microsoft.SqlServer.Dts.Runtime.Project.AccessMode accessMode, string projectPassword, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
static member OpenProject : System.IO.Stream * Microsoft.SqlServer.Dts.Runtime.Project.AccessMode * string * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectStream As Stream, accessMode As Project.AccessMode, projectPassword As String, events As IDTSEvents) As Project

Parameters

projectStream
Stream

The IO stream on which to open the project.

accessMode
Project.AccessMode

The access in which to open the project.

projectPassword
String

Provides project password.

events
IDTSEvents

An IDTSEvents interface to receive events.

Returns

An opened project.

Applies to

OpenProject(String, String, IDTSEvents)

Open a password protected project in the specified path, specifying an event listener to receive events.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::String ^ projectFileName, System::String ^ projectPassword, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (string projectFileName, string projectPassword, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
static member OpenProject : string * string * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectFileName As String, projectPassword As String, events As IDTSEvents) As Project

Parameters

projectFileName
String

Specifies project file path.

projectPassword
String

Provides project password.

events
IDTSEvents

An IDTSEvents interface to receive events.

Returns

An opened project.

Applies to

OpenProject(Stream, String, IDTSEvents)

Open a password protected project from an I/O stream, specifying an event listener to receive events.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::IO::Stream ^ projectStream, System::String ^ projectPassword, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (System.IO.Stream projectStream, string projectPassword, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
static member OpenProject : System.IO.Stream * string * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectStream As Stream, projectPassword As String, events As IDTSEvents) As Project

Parameters

projectStream
Stream

The IO stream on which to open the project.

projectPassword
String

Provides project password.

events
IDTSEvents

An IDTSEvents interface to receive events.

Returns

An opened project.

Applies to

OpenProject(String, String)

Open a password protected project in the specified path.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::String ^ projectFileName, System::String ^ projectPassword);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (string projectFileName, string projectPassword);
static member OpenProject : string * string -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectFileName As String, projectPassword As String) As Project

Parameters

projectFileName
String

Specifies project file path.

projectPassword
String

Provides project password.

Returns

An opened project.

Applies to

OpenProject(String, IDTSEvents)

Open a project in the specified path, specifying an event listener to receive events.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::String ^ projectFileName, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (string projectFileName, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
static member OpenProject : string * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectFileName As String, events As IDTSEvents) As Project

Parameters

projectFileName
String

Specifies project file path

events
IDTSEvents

An IDTSEvents interface to receive events.

Returns

An opened project.

Applies to

OpenProject(Stream, String)

Open a password protected project in the specified path.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::IO::Stream ^ projectStream, System::String ^ projectPassword);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (System.IO.Stream projectStream, string projectPassword);
static member OpenProject : System.IO.Stream * string -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectStream As Stream, projectPassword As String) As Project

Parameters

projectStream
Stream

The IO stream on which to open the project.

projectPassword
String

Provides project password.

Returns

An opened project.

Applies to

OpenProject(Stream, IDTSEvents)

Open a project in the specified path, specifying an event listener to receive events.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::IO::Stream ^ projectStream, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (System.IO.Stream projectStream, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
static member OpenProject : System.IO.Stream * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectStream As Stream, events As IDTSEvents) As Project

Parameters

projectStream
Stream

The IO stream on which to open the project.

events
IDTSEvents

An IDTSEvents interface to receive events.

Returns

An opened project.

Applies to

OpenProject(String)

Open an existing project in the specified path.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::String ^ projectFileName);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (string projectFileName);
static member OpenProject : string -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectFileName As String) As Project

Parameters

projectFileName
String

Specifies project file path.

Returns

An opened project.

Applies to

OpenProject(Stream)

Open a project from an IO stream.

public:
 static Microsoft::SqlServer::Dts::Runtime::Project ^ OpenProject(System::IO::Stream ^ projectStream);
public static Microsoft.SqlServer.Dts.Runtime.Project OpenProject (System.IO.Stream projectStream);
static member OpenProject : System.IO.Stream -> Microsoft.SqlServer.Dts.Runtime.Project
Public Shared Function OpenProject (projectStream As Stream) As Project

Parameters

projectStream
Stream

The IO stream on which to open the project.

Returns

An opened project.

Applies to