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