IPWAPDPPart.DataStore Property

Specifies the Draft database or the Published database as the source for reading project data in a Web Part on a project detail page.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Property DataStore As DataStoreEnum
    Get
    Set
'Usage
Dim instance As IPWAPDPPart
Dim value As DataStoreEnum

value = instance.DataStore

instance.DataStore = value
DataStoreEnum DataStore { get; set; }

Property Value

Type: Microsoft.Office.Project.Server.Library.DataStoreEnum
The value can be only WorkingStore or PublishedStore.

Remarks

Project detail pages can be used for either viewing a published project or editing the working draft of a project. The PDP infrastructure sets the DataStore property based on the current edit mode of the project.

See Also

Reference

IPWAPDPPart Interface

IPWAPDPPart Members

Microsoft.Office.Project.Server.Library Namespace