CheckOLAPCube Method

Description

Checks if a specified OLAP cube exists for the Microsoft Office Project Server 2003 database.

Syntax

<Request>
   <CheckOLAPCube>
      <ServerName></ServerName>
      <CubeName></CubeName>
   </CheckOLAPCube>
</Request>

Parameters

ServerName

The name of the Microsoft SQL Analysis server.

CubeName

The OLAP cube name.

Return Value

If the specified cube exists, the PDS returns a successful HRESULT and STATUS.

<Reply>
   <HRESULT></HRESULT>
   <STATUS></STATUS>
   <UserName></UserName>
</Reply>

Remarks

The PDS checks Project Server security for the currently logged-on user, and determines whether that user is a valid Project Server user.

If the cube contains a proper MSP_PORTFOLIO_ANALYZER cube, the reply STATUS is 0. See Error Codes for a list of possible OLAP errors.