Partager via


TaskResult.TaskId Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the ID of the task that ran.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As TaskResult
Dim value As Guid

value = instance.TaskId

Syntax

'Declaration
Public ReadOnly Property TaskId As Guid
public Guid TaskId { get; }
public:
property Guid TaskId {
    Guid get ();
}
/** @property */
public Guid get_TaskId ()
public function get TaskId () : Guid

Property Value

Returns Guid.

The ID of the task that ran.

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

TaskResult Class
TaskResult Members
Microsoft.EnterpriseManagement.Monitoring Namespace