다음을 통해 공유


Project.OpenProject 메서드 (Stream, String)

Opens a password protected project from an I/O stream.

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

구문

‘선언
Public Shared Function OpenProject ( _
    projectStream As Stream, _
    projectPassword As String _
) As Project
‘사용 방법
Dim projectStream As Stream 
Dim projectPassword As String 
Dim returnValue As Project 

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

매개 변수

  • projectStream
    유형: System.IO.Stream
    The I/O stream on which to open the project.
  • projectPassword
    유형: System.String
    The password used in the project.

반환 값

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

참고 항목

참조

Project 클래스

OpenProject 오버로드

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