Udostępnij za pośrednictwem


IDTSProject100.GetPackage Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the package for the project.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Function GetPackage ( _
    iPackage As Integer, _
    <OutAttribute> ByRef bstrPackageStreamName As String _
) As IDTSPackage100
'Usage
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

Parameters

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

Return Value

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

See Also

Reference

IDTSProject100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace