Project.CreateProject Method (Stream)
Creates a new project on a given I/O stream.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Shared Function CreateProject ( _
projectStream As Stream _
) As Project
'Usage
Dim projectStream As Stream
Dim returnValue As Project
returnValue = Project.CreateProject(projectStream)
public static Project CreateProject(
Stream projectStream
)
public:
static Project^ CreateProject(
Stream^ projectStream
)
static member CreateProject :
projectStream:Stream -> Project
public static function CreateProject(
projectStream : Stream
) : Project
Parameters
- projectStream
Type: System.IO.Stream
The I/O stream on which to create the project.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Project
A newly created project.