CubeAdminEventReceiver.OnCubeBuilt Method
A post-event handler from the Cube Build Service that occurs when the cube metadata has been assembled but the cube is not yet populated with data.
Namespace: Microsoft.Office.Project.Server.Events
Assembly: Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntax
'Declaration
Public Overridable Sub OnCubeBuilt ( _
contextInfo As PSContextInfo, _
e As CubeAdminPostCubeBuildEventArgs _
)
'Usage
Dim instance As CubeAdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As CubeAdminPostCubeBuildEventArgs
instance.OnCubeBuilt(contextInfo, e)
public virtual void OnCubeBuilt(
PSContextInfo contextInfo,
CubeAdminPostCubeBuildEventArgs e
)
Parameters
- contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfo
Contains the Project Server context information.
- e
Type: Microsoft.Office.Project.Server.Events.CubeAdminPostCubeBuildEventArgs
The data for the event.
Remarks
Use the CubeAdminCubeBuilt event to make metadata changes, such as permissions changes and to add additional measures and dimensions from custom tables.
For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event.
For more information about the Cube Build Service (CBS) events, see Other Downstream Events in Events for the RDB.