Share via


GetObjectDetails Method

The GetObjectDetails method populates an object containing details held about a specified object.

Syntax

Function GetObjectDetails(ByVal dwObjID   As Unsigned Long, pvOutDetails   As Variant) As Long

Parameters

dwObjID     Required. Integer that specifies the object, by its ID.

pvOutDetails     Required. Variant object updated with the object details. The individual items are accessed by appending .columnName to the object, where columnName is the column name from the MSP_WEB_OBJECTS table. For instance, to read the list name, you would use the syntax:


sListName = pvOutDetails.WOBJ_LIST_NAME

Return Values

Returns 1 for success, 0 for failure.

Remarks

Full details are made clear through the sample code, which is available from the Microsoft Download Center.

See Also

GetLinkedObjects Method |GetLinkType Method | GetObjectType Method | GetProjectIssues Method | GetSTSObjectID Method | GetTaskObjectID Method

Applies To

IObjLinkProvider Interface

Additional Information

Object Link Provider Reference for Microsoft Office Project Server