Metodo IDTSProject100.GetPackage

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

Gets the package for the project.

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

Sintassi

'Dichiarazione
Function GetPackage ( _
    iPackage As Integer, _
    <OutAttribute> ByRef bstrPackageStreamName As String _
) As IDTSPackage100
'Utilizzo
Dim instance As IDTSProject100 
Dim iPackage As Integer 
Dim bstrPackageStreamName As String 
Dim returnValue As IDTSPackage100 

returnValue = instance.GetPackage(iPackage, _
    bstrPackageStreamName)
IDTSPackage100 GetPackage(
    int iPackage,
    out string bstrPackageStreamName
)
IDTSPackage100^ GetPackage(
    [InAttribute] int iPackage, 
    [OutAttribute] String^% bstrPackageStreamName
)
abstract GetPackage : 
        iPackage:int * 
        bstrPackageStreamName:string byref -> IDTSPackage100
function GetPackage(
    iPackage : int, 
    bstrPackageStreamName : String
) : IDTSPackage100

Parametri

  • bstrPackageStreamName
    Tipo: System.String%
    The package stream name.

Valore restituito

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The returned package.

Vedere anche

Riferimento

IDTSProject100 Interfaccia

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