TaskLauncher.OpenTasks Method
Applies to: SharePoint Foundation 2010
Loads task list items into Microsoft Project 2010.
OpenTasks(
string bstrTemplateName,
string bstrURI,
string bstrViewGUID,
string bstrListGUID,
string bstrListName,
string bstrViewName,
int iListID
)
Parameters
bstrTemplateName
Type: String
Not used. Pass an empty string.
bstrURI
Type: String
The full URL of the site that contains the list.
bstrViewGUID
Type: String
The string representation of the GUID that identifies the list view. You can obtain this value by converting the value of the ID property to a string.
bstrListGUID
Type: String
The string representation of the GUID that identifies the list. You can obtain this value by converting the value of the ID property to a string.
bstrListName
Type: String
The name of the list. You can obtain this value by accessing the Title property.
bstrViewName
Type: String
The name of the view. You can obtain this value by accessing the Title property.
iListID
Type: Int32
The integer value that indicates the list template type. The only valid arguments are the integers that correspond to SPListTemplateType.Tasks (107), SPListTemplateType.GanttTasks (150), or SPListTemplateType.IssueTracking (1100).
Return Value
None