ITaskConfigurationManagement.GetConsoleTasks Method (ManagementPackClass, ManagementPackConsoleTaskCriteria, BaseClassTraversalDepth)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Retrieves all the console tasks targeted toward this type.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As ITaskConfigurationManagement
Dim managementPackClass As ManagementPackClass
Dim criteria As ManagementPackConsoleTaskCriteria
Dim baseClassTraversalDepth As BaseClassTraversalDepth
Dim returnValue As IList(Of ManagementPackConsoleTask)
returnValue = instance.GetConsoleTasks(managementPackClass, criteria, baseClassTraversalDepth)
Syntax
'Declaration
Function GetConsoleTasks ( _
managementPackClass As ManagementPackClass, _
criteria As ManagementPackConsoleTaskCriteria, _
baseClassTraversalDepth As BaseClassTraversalDepth _
) As IList(Of ManagementPackConsoleTask)
IList<ManagementPackConsoleTask> GetConsoleTasks (
ManagementPackClass managementPackClass,
ManagementPackConsoleTaskCriteria criteria,
BaseClassTraversalDepth baseClassTraversalDepth
)
IList<ManagementPackConsoleTask^>^ GetConsoleTasks (
ManagementPackClass^ managementPackClass,
ManagementPackConsoleTaskCriteria^ criteria,
BaseClassTraversalDepth baseClassTraversalDepth
)
IList<ManagementPackConsoleTask> GetConsoleTasks (
ManagementPackClass managementPackClass,
ManagementPackConsoleTaskCriteria criteria,
BaseClassTraversalDepth baseClassTraversalDepth
)
function GetConsoleTasks (
managementPackClass : ManagementPackClass,
criteria : ManagementPackConsoleTaskCriteria,
baseClassTraversalDepth : BaseClassTraversalDepth
) : IList<ManagementPackConsoleTask>
Parameters
- managementPackClass
The target class.
- criteria
The search criteria.
- baseClassTraversalDepth
Indicates whether or not to include this class’s base classes as targets for the ManagementPackConsoleTask object.
Return Value
Returns IList.
The console tasks.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ITaskConfigurationManagement Interface
ITaskConfigurationManagement Members
Microsoft.EnterpriseManagement Namespace