Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.