Freigeben über


IDTSProject100.GetPackageByName-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Gets the package by name.

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

Syntax

'Declaration
Function GetPackageByName ( _
    bstrPackageStreamName As String _
) As IDTSPackage100
'Usage
Dim instance As IDTSProject100 
Dim bstrPackageStreamName As String 
Dim returnValue As IDTSPackage100 

returnValue = instance.GetPackageByName(bstrPackageStreamName)
IDTSPackage100 GetPackageByName(
    string bstrPackageStreamName
)
IDTSPackage100^ GetPackageByName(
    [InAttribute] String^ bstrPackageStreamName
)
abstract GetPackageByName : 
        bstrPackageStreamName:string -> IDTSPackage100
function GetPackageByName(
    bstrPackageStreamName : String
) : IDTSPackage100

Parameter

  • bstrPackageStreamName
    Typ: System.String
    The package stream name.

Rückgabewert

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

Siehe auch

Verweis

IDTSProject100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace