Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Returns a RunningPackages collection that contains RunningPackage objects.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Public Overridable Function GetRunningPackages ( _
bstrMachineName As String _
) As IDTSRunningPackages100
'Utilisation
Dim instance As ApplicationClass
Dim bstrMachineName As String
Dim returnValue As IDTSRunningPackages100
returnValue = instance.GetRunningPackages(bstrMachineName)
public virtual IDTSRunningPackages100 GetRunningPackages(
string bstrMachineName
)
public:
virtual IDTSRunningPackages100^ GetRunningPackages(
[InAttribute] String^ bstrMachineName
)
abstract GetRunningPackages :
bstrMachineName:string -> IDTSRunningPackages100
override GetRunningPackages :
bstrMachineName:string -> IDTSRunningPackages100
public function GetRunningPackages(
bstrMachineName : String
) : IDTSRunningPackages100
Paramètres
- bstrMachineName
Type : System.String
The instance of SQL Server that the application is running on
Valeur de retour
Type : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRunningPackages100
A RunningPackages collection that contains the RunningPackage objects that represent all the packages that are currently executing on the computer.
Implémente
IDTSApplication100.GetRunningPackages(String)