共用方式為


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

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.

See Also

Reference

CubeAdminEventReceiver Class

CubeAdminEventReceiver Members

Microsoft.Office.Project.Server.Events Namespace