Método IDTSApplication100.OpenProject
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Opens a specified project.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Function OpenProject ( _
bstrProjectFileName As String, _
pEvents As IDTSEvents100 _
) As IDTSProject100
'Uso
Dim instance As IDTSApplication100
Dim bstrProjectFileName As String
Dim pEvents As IDTSEvents100
Dim returnValue As IDTSProject100
returnValue = instance.OpenProject(bstrProjectFileName, _
pEvents)
IDTSProject100 OpenProject(
string bstrProjectFileName,
IDTSEvents100 pEvents
)
IDTSProject100^ OpenProject(
[InAttribute] String^ bstrProjectFileName,
[InAttribute] IDTSEvents100^ pEvents
)
abstract OpenProject :
bstrProjectFileName:string *
pEvents:IDTSEvents100 -> IDTSProject100
function OpenProject(
bstrProjectFileName : String,
pEvents : IDTSEvents100
) : IDTSProject100
Parâmetros
- bstrProjectFileName
Tipo: System.String
The file name of the project.
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents100 interface.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
The newly opened project.