GetObjectType Method
The GetObjectType method returns the type ID for a specified object.
Syntax
Function GetObjectType(ByVal dwObjID As Unsigned Long) As Unsigned Long
Parameters
dwObjID Required. Integer that specifies the object, by its ID.
Return Values
Returns an 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.
See Also
GetLinkedObjects Method |GetLinkType Method | GetObjectDetails Method | GetProjectIssues Method | GetSTSObjectID Method | GetTaskObjectID Method
Applies To
Additional Information
Object Link Provider Reference for Microsoft Office Project Server