AddSTSObject Method
The AddSTSObject method creates an entry for a Microsoft Windows SharePoint Services list item in the MSP_WEB_OBJECTS table.
Syntax
Function AddSTSObject(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. The relevant values for this parameter are:
3 | Document |
4 | Issue |
5 | Risk |
dwProjID Required. Integer that specifies the relevant project by its ProjectServerVdirName_WProjID.
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 newly created object ID.
See Also
AddObject Method | AddProjectObject Method | AddTaskObject Method
Applies To
Additional Information
Object Link Provider Reference for Microsoft Office Project Server