CubeAdmin.SetOlapDatabaseEnabled method

Enables or disables the specified cube database based on the unique identifier.

Namespace:  WebSvcCubeAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/SetOlapDatabaseEnabled", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetOlapDatabaseEnabled ( _
    olapDatabaseGuid As Guid, _
    isEnabled As Boolean _
)
'Usage
Dim instance As CubeAdmin
Dim olapDatabaseGuid As Guid
Dim isEnabled As Boolean

instance.SetOlapDatabaseEnabled(olapDatabaseGuid, _
    isEnabled)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/SetOlapDatabaseEnabled", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetOlapDatabaseEnabled(
    Guid olapDatabaseGuid,
    bool isEnabled
)

Parameters

Remarks

Project Server Permissions

Permission

Description

ManageCubeBuildingService

Allows a user to manage settings for OLAP cube creation. Global permission.

ManageSiteServices

Allows a user to administer services such as Active Directory settings and database timeouts. Global permission.

See also

Reference

CubeAdmin class

CubeAdmin members

WebSvcCubeAdmin namespace