Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
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
Parameters
- bstrPackageStreamName
Type: System.String
The package stream name.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The returned package.