다음을 통해 공유


Project.OpenProject 메서드 (String, IDTSEvents)

Opens an existing project in the specified file.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Shared Function OpenProject ( _
    projectFileName As String, _
    events As IDTSEvents _
) As Project
‘사용 방법
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

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.Project
An opened project.

참고 항목

참조

Project 클래스

OpenProject 오버로드

Microsoft.SqlServer.Dts.Runtime 네임스페이스