Метод IDTSApplication100.GetRunningPackages
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Returns a IDTSRunningPackages100 collection that contains IDTSRunningPackage100 objects. This property is read-only.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Function GetRunningPackages ( _
bstrMachineName As String _
) As IDTSRunningPackages100
'Применение
Dim instance As IDTSApplication100
Dim bstrMachineName As String
Dim returnValue As IDTSRunningPackages100
returnValue = instance.GetRunningPackages(bstrMachineName)
IDTSRunningPackages100 GetRunningPackages(
string bstrMachineName
)
IDTSRunningPackages100^ GetRunningPackages(
[InAttribute] String^ bstrMachineName
)
abstract GetRunningPackages :
bstrMachineName:string -> IDTSRunningPackages100
function GetRunningPackages(
bstrMachineName : String
) : IDTSRunningPackages100
Параметры
- bstrMachineName
Тип: System.String
The instance of SQL Server that the application is running on.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRunningPackages100
A IDTSRunningPackages100 collection that contains the IDTSRunningPackage100 objects that represent all the packages that are currently executing on the computer.