Método IDTSProject100.GetPackage
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Gets the package for the project.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Function GetPackage ( _
iPackage As Integer, _
<OutAttribute> ByRef bstrPackageStreamName As String _
) As IDTSPackage100
'Uso
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
Parâmetros
- iPackage
Tipo: System.Int32
The package.
- bstrPackageStreamName
Tipo: System.String%
The package stream name.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The returned package.