Udostępnij za pośrednictwem


IDTSProject100.GetConfiguredPackageByName Method

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

Gets the configured package by name.

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

Syntax

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

returnValue = instance.GetConfiguredPackageByName(bstrPackageStreamName)
IDTSPackage100 GetConfiguredPackageByName(
    string bstrPackageStreamName
)
IDTSPackage100^ GetConfiguredPackageByName(
    [InAttribute] String^ bstrPackageStreamName
)
abstract GetConfiguredPackageByName : 
        bstrPackageStreamName:string -> IDTSPackage100
function GetConfiguredPackageByName(
    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