Compartilhar via


ManagementPackTask Class

Represents a Management Pack element that is defined by the ManagementPackTask complex type. This type defines a task in a Management Pack that is triggered on demand by an Operations Manager user. The task consists of a single probe action or a single write action.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackTask

Syntax

'Declaration
<SerializableAttribute> _
Public Class ManagementPackTask
    Inherits ManagementPackAccessibleElement
[SerializableAttribute] 
public class ManagementPackTask : ManagementPackAccessibleElement
[SerializableAttribute] 
public ref class ManagementPackTask : public ManagementPackAccessibleElement
/** @attribute SerializableAttribute() */ 
public class ManagementPackTask extends ManagementPackAccessibleElement
SerializableAttribute 
public class ManagementPackTask extends ManagementPackAccessibleElement

Example

For an example that shows how to use the ManagementPackTask class, see How to Retrieve Information from a Management Pack.

Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Configuration.ManagementPackItem
     Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
       Microsoft.EnterpriseManagement.Configuration.ManagementPackAccessibleElement
        Microsoft.EnterpriseManagement.Configuration.ManagementPackTask
           Microsoft.EnterpriseManagement.Configuration.MonitoringTask

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackTask Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.