IDTSApplication100.GetPackageInfos2 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets a IDTSPackageInfos100 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 中)
語法
'宣告
Function GetPackageInfos2 ( _
bstrPackageFolder As String, _
vConnectionObject As Object _
) As IDTSPackageInfos100
'用途
Dim instance As IDTSApplication100
Dim bstrPackageFolder As String
Dim vConnectionObject As Object
Dim returnValue As IDTSPackageInfos100
returnValue = instance.GetPackageInfos2(bstrPackageFolder, _
vConnectionObject)
IDTSPackageInfos100 GetPackageInfos2(
string bstrPackageFolder,
Object vConnectionObject
)
IDTSPackageInfos100^ GetPackageInfos2(
[InAttribute] String^ bstrPackageFolder,
[InAttribute] Object^ vConnectionObject
)
abstract GetPackageInfos2 :
bstrPackageFolder:string *
vConnectionObject:Object -> IDTSPackageInfos100
function GetPackageInfos2(
bstrPackageFolder : String,
vConnectionObject : Object
) : IDTSPackageInfos100
參數
- bstrPackageFolder
型別:System.String
The logical folder that contains the packages you want to enumerate.
- vConnectionObject
型別:System.Object
The connection object.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.