SharedWorkspaceTask.Status Property

Returns or sets the status of the specified shared workspace task.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Status As MsoSharedWorkspaceTaskStatus
    Get
    Set
'Usage
Dim instance As SharedWorkspaceTask
Dim value As MsoSharedWorkspaceTaskStatus

value = instance.Status

instance.Status = value
MsoSharedWorkspaceTaskStatus Status { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoSharedWorkspaceTaskStatus

Remarks

The shared workspace task schema on the server can be customized. Customization of the schema may affect the MsoSharedWorkspaceTaskPriority setting when the Add or Save method is called. Status property values are mapped as follows:

  • Downloaded values 1 through 5 are mapped to msoSharedWorkspaceTaskStatus enumeration values 1 through 5. Schema values beyond 5 are mapped to enumeration value 1 (msoSharedWorkspaceTaskStatusInProgress).

  • Uploaded enumeration values 1 through 5 are mapped to schema values 1 through 5. If a user-specified value does not map to any value defined in the schema, the user-specified value is silently ignored and the Status property is not updated on the server.

See Also

Reference

SharedWorkspaceTask Interface

SharedWorkspaceTask Members

Microsoft.Office.Core Namespace