CubeAdminEventReceiver.OnCubeBuilt 方法
從 Cube 建置服務已經集會 cube 中繼資料時所發生,但 cube 的後置事件處理常式尚未填入資料。
命名空間: Microsoft.Office.Project.Server.Events
組件: Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
語法
'宣告
Public Overridable Sub OnCubeBuilt ( _
contextInfo As PSContextInfo, _
e As CubeAdminPostCubeBuildEventArgs _
)
'用途
Dim instance As CubeAdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As CubeAdminPostCubeBuildEventArgs
instance.OnCubeBuilt(contextInfo, e)
public virtual void OnCubeBuilt(
PSContextInfo contextInfo,
CubeAdminPostCubeBuildEventArgs e
)
參數
contextInfo
類型:Microsoft.Office.Project.Server.Library.PSContextInfo包含 Project Server 內容資訊。
備註
變更的中繼資料,例如權限變更,並新增其他量值和維度從自訂表格,請使用CubeAdminCubeBuilt事件。
如需建立事件處理常式的資訊,請參閱 < How to: Create a Project Server Event Handler and Log an Event。
如需 Cube 建置服務 (CBS) 事件的詳細資訊,請參閱其他下游事件之事件的 RDB。