Partager via


CubeAdminEventReceiver.OnCubeBuilding Method

A pre-event handler from the Cube Build Service that occurs when an OLAP cube starts to build.

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 OnCubeBuilding ( _
    contextInfo As PSContextInfo, _
    e As CubeAdminPreCubeBuildEventArgs _
)
'Usage
Dim instance As CubeAdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As CubeAdminPreCubeBuildEventArgs

instance.OnCubeBuilding(contextInfo, _
    e)
public virtual void OnCubeBuilding(
    PSContextInfo contextInfo,
    CubeAdminPreCubeBuildEventArgs e
)

Parameters

Remarks

Use the CubeAdminCubeBuilding event to refresh any custom data.

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.

See Also

Reference

CubeAdminEventReceiver Class

CubeAdminEventReceiver Members

Microsoft.Office.Project.Server.Events Namespace