Dela via


Task Class

Represents a SharePoint site or list permission.

Inheritance Hierarchy

System.Object
  ReportService2006.Task

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class Task
'Usage
Dim instance As Task
[SerializableAttribute]
public class Task
[SerializableAttribute]
public ref class Task
[<SerializableAttribute>]
type Task =  class end
public class Task

The Task type exposes the following members.

Constructors

  Name Description
Public method Task Initializes a new instance of the Task class.

Top

Properties

  Name Description
Public property Description Gets a description of the task.
Public property Name Gets the name of the task.
Public property TaskID Gets the unique identifier of the task.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Tasks cannot be modified and additional tasks cannot be added to a SharePoint farm.

A Task object is returned as output by the GetRoleProperties, and ListTasks methods.

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.

See Also

Reference