GetPackageInfos 方法

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

For more information, see ApplicationClass.

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

语法

声明
Function GetPackageInfos ( _
    bstrPackageFolder As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
) As IDTSPackageInfos100
用法
Dim instance As IDTSApplication100
Dim bstrPackageFolder As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim returnValue As IDTSPackageInfos100

returnValue = instance.GetPackageInfos(bstrPackageFolder, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword)
IDTSPackageInfos100 GetPackageInfos(
    string bstrPackageFolder,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
IDTSPackageInfos100^ GetPackageInfos(
    [InAttribute] String^ bstrPackageFolder, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrServerUserName, 
    [InAttribute] String^ bstrServerPassword
)
abstract GetPackageInfos : 
        bstrPackageFolder:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> IDTSPackageInfos100 
function GetPackageInfos(
    bstrPackageFolder : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String
) : IDTSPackageInfos100

参数