Метод ApplicationClass.GetPackageInfos2
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Gets a PackageInfos collection that contains the packages stored in an instance of SQL Server, within the specified logical folder, by using the server name, user name, and password.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Public Overridable Function GetPackageInfos2 ( _
bstrPackageFolder As String, _
vConnectionObject As Object _
) As IDTSPackageInfos100
'Применение
Dim instance As ApplicationClass
Dim bstrPackageFolder As String
Dim vConnectionObject As Object
Dim returnValue As IDTSPackageInfos100
returnValue = instance.GetPackageInfos2(bstrPackageFolder, _
vConnectionObject)
public virtual IDTSPackageInfos100 GetPackageInfos2(
string bstrPackageFolder,
Object vConnectionObject
)
public:
virtual IDTSPackageInfos100^ GetPackageInfos2(
[InAttribute] String^ bstrPackageFolder,
[InAttribute] Object^ vConnectionObject
)
abstract GetPackageInfos2 :
bstrPackageFolder:string *
vConnectionObject:Object -> IDTSPackageInfos100
override GetPackageInfos2 :
bstrPackageFolder:string *
vConnectionObject:Object -> IDTSPackageInfos100
public function GetPackageInfos2(
bstrPackageFolder : String,
vConnectionObject : Object
) : IDTSPackageInfos100
Параметры
- bstrPackageFolder
Тип: System.String
The logical folder that contains the packages
- vConnectionObject
Тип: System.Object
The connection.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
A PackageInfos collection.
Реализует
IDTSApplication100.GetPackageInfos2(String, Object)