Share via


Project.OpenProject Method (String, IDTSEvents)

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, _
    events As IDTSEvents _
) As Project
'Usage
Dim projectFileName As String 
Dim events As IDTSEvents 
Dim returnValue As Project 

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

Parameters

Return Value

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

See Also

Reference

Project Class

OpenProject Overload

Microsoft.SqlServer.Dts.Runtime Namespace