GetSTSObjectID Method
The GetSTSObjectID method returns an integer identifying the specific Microsoft Windows SharePoint Services list item in the Microsoft Office Project Server database.
Syntax
Function GetSTSObjectID(ByVal dwObjType As Unsigned Long, ByVal dwProjID As Unsigned Long, ByVal dwTp_Id As Unsigned Long, ByVal sListName As String) As Unsigned Long
Parameters
dwObjType Required. Integer that specifies the object type according to the following table:
1 | Project |
2 | Task |
3 | Document |
4 | Issue |
5 | Risk |
This table is extensible for other object types, but values of either 3, 4, or 5 would be the normal initial parameters for this method.
dwProjID Required. Integer that specifies the project, by its ID.
dwTP_Id Required. Long that specifies the Windows SharePoint Services item ID. This is held in the table in the Windows SharePoint Services database (usually named STS_ServerName_VServerID). The dwTP_Ids are obtained using SOAP calls.
sListName Required. GUID representing the list name within Windows SharePoint Services.
Return Values
Returns an integer representing the ID of the unique SharePoint list item in the Project Server database.
See Also
GetLinkedObjects Method |GetLinkType Method | GetObjectDetails Method | GetObjectType Method | GetProjectIssues Method | GetTaskObjectID Method
Applies To
Additional Information
Object Link Provider Reference for Microsoft Office Project Server