Metodo Project.OpenProject (Stream, IDTSEvents)
Opens a project from an I/O stream and specifies an event listener to receive events.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Sintassi
'Dichiarazione
Public Shared Function OpenProject ( _
projectStream As Stream, _
events As IDTSEvents _
) As Project
'Utilizzo
Dim projectStream As Stream
Dim events As IDTSEvents
Dim returnValue As Project
returnValue = Project.OpenProject(projectStream, _
events)
public static Project OpenProject(
Stream projectStream,
IDTSEvents events
)
public:
static Project^ OpenProject(
Stream^ projectStream,
IDTSEvents^ events
)
static member OpenProject :
projectStream:Stream *
events:IDTSEvents -> Project
public static function OpenProject(
projectStream : Stream,
events : IDTSEvents
) : Project
Parametri
- projectStream
Tipo: System.IO.Stream
The I/O stream on which to open the project.
- events
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
An IDTSEvents interface to receive events.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Runtime.Project
An opened project.