ISToDoItem.ProviderName

Description

The name of the provider responsible for the activity to be done.

Syntax

object.ProviderName

Part Attribute Type Description
object Required
The object always implements the ISToDoItem interface
Restriction: This property is readonly.

Return Value

string

Example

Display the number of To Do Items loaded on the basis of the selected filter and the names of the providers responsible for the activity to be done.

Dim aFilters
Dim aFilter
Dim aToDoItems 
Dim aToDoItem
Dim aMessage  

Set aFilters = Profile.GetToDoFilters
set aFilter = aFilters.ToDoListFilter(0)
aFilter.MaxNumber = 6
aFilter.StartFrom = 1
set aToDoItems = Profile.LoadToDoItems(aFilter)

aMessage = "To Do Items Count = " & aToDoItems.Count

for i = 0 to aToDoItems.Count - 1
  set aToDoItem = aToDoItems.Item(i)
  aMessage = aMessage & vbNewLine & "The name of the Provider is " &_
    aToDoItem.ProviderName
next 
 
Profile.MsgBox(aMessage)            
Note:

In Profile Client v8 on User Interface Provider Name can be found in Organisation > Work Centre > To Do List > Provider.

Version information

Added in v7.8.0