다음을 통해 공유


CubeAdmin.SetOlapDatabaseEnabled Method

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

Namespace:  [CubeAdmin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/CubeAdmin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/CubeAdmin.asmx?wsdl

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

CubeAdmin Web Service