IDTSProject100.GetPackage 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets the package for the project.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Function GetPackage ( _
iPackage As Integer, _
<OutAttribute> ByRef bstrPackageStreamName As String _
) As IDTSPackage100
'用途
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
參數
- iPackage
型別:System.Int32
The package.
- bstrPackageStreamName
型別:System.String%
The package stream name.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The returned package.