SharedWorkspaceTask.Priority Property
Returns or sets the status of the specified shared workspace task.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property Priority As MsoSharedWorkspaceTaskPriority
Get
Set
'Usage
Dim instance As SharedWorkspaceTask
Dim value As MsoSharedWorkspaceTaskPriority
value = instance.Priority
instance.Priority = value
MsoSharedWorkspaceTaskPriority Priority { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoSharedWorkspaceTaskPriority
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. Priority property values are mapped as follows:
Downloaded value 1 is mapped to msoSharedWorkspaceTaskPriority 1 (msoSharedWorkspaceTaskPriorityHigh). Downloaded values 2 through N-1 are mapped to msoSharedWorkspaceTaskPriority 2 (msoSharedWorkspaceTaskPriorityNormal). Downloaded value N is mapped to msoSharedWorkspaceTaskPriority 3 (msoSharedWorkspaceTaskPriorityLow).
Uploaded enumeration values 1 through 3 are mapped to schema values 1 through 3. 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.