Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Opens an existing project in the specified file.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Shared Function OpenProject ( _
projectFileName As String, _
projectPassword As String, _
events As IDTSEvents _
) As Project
'Usage
Dim projectFileName As String
Dim projectPassword As String
Dim events As IDTSEvents
Dim returnValue As Project
returnValue = Project.OpenProject(projectFileName, _
projectPassword, events)
public static Project OpenProject(
string projectFileName,
string projectPassword,
IDTSEvents events
)
public:
static Project^ OpenProject(
String^ projectFileName,
String^ projectPassword,
IDTSEvents^ events
)
static member OpenProject :
projectFileName:string *
projectPassword:string *
events:IDTSEvents -> Project
public static function OpenProject(
projectFileName : String,
projectPassword : String,
events : IDTSEvents
) : Project
Parameters
- projectFileName
Type: System.String
The project file path.
- projectPassword
Type: System.String
The password used in the project.
- 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.