Condividi tramite


Metodo ApplicationClass.OpenProject

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Opens a package from the file system

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Public Overridable Function OpenProject ( _
    bstrProjectFileName As String, _
    pEvents As IDTSEvents100 _
) As IDTSProject100
'Utilizzo
Dim instance As ApplicationClass 
Dim bstrProjectFileName As String 
Dim pEvents As IDTSEvents100 
Dim returnValue As IDTSProject100 

returnValue = instance.OpenProject(bstrProjectFileName, _
    pEvents)
public virtual IDTSProject100 OpenProject(
    string bstrProjectFileName,
    IDTSEvents100 pEvents
)
public:
virtual IDTSProject100^ OpenProject(
    [InAttribute] String^ bstrProjectFileName, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract OpenProject : 
        bstrProjectFileName:string * 
        pEvents:IDTSEvents100 -> IDTSProject100  
override OpenProject : 
        bstrProjectFileName:string * 
        pEvents:IDTSEvents100 -> IDTSProject100
public function OpenProject(
    bstrProjectFileName : String, 
    pEvents : IDTSEvents100
) : IDTSProject100

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
The opened project.

Implementa

IDTSApplication100.OpenProject(String, IDTSEvents100)

Vedere anche

Riferimento

ApplicationClass Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper