Метод 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.