Share via


Project.OpenProject Method (String, String)

Opens an existing project with password 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 _
) As Project
'Usage
Dim projectFileName As String 
Dim projectPassword As String 
Dim returnValue As Project 

returnValue = Project.OpenProject(projectFileName, _
    projectPassword)
public static Project OpenProject(
    string projectFileName,
    string projectPassword
)
public:
static Project^ OpenProject(
    String^ projectFileName, 
    String^ projectPassword
)
static member OpenProject : 
        projectFileName:string * 
        projectPassword:string -> Project
public static function OpenProject(
    projectFileName : String, 
    projectPassword : String
) : Project

Parameters

  • projectPassword
    Type: System.String
    The password used in the project.

Return Value

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

See Also

Reference

Project Class

OpenProject Overload

Microsoft.SqlServer.Dts.Runtime Namespace