IDTSProject100.GetConfiguredPackageByName 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets the configured package by name.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Function GetConfiguredPackageByName ( _
    bstrPackageStreamName As String _
) As IDTSPackage100
用法
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

参数

  • bstrPackageStreamName
    类型:System.String
    The package stream name.

返回值

类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The returned package.

请参阅

参考

IDTSProject100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间