共用方式為


CubeAdmin.UpdateOlapDatabaseSettings Method

Updates the cube settings for the current OLAP database.

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/UpdateOlapDatabaseSettings", 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 UpdateOlapDatabaseSettings ( _
    olapDatabaseGuidCube As Guid, _
    cubeSettings As CubeSettingsDataSet _
)
'Usage
Dim instance As CubeAdmin
Dim olapDatabaseGuidCube As Guid
Dim cubeSettings As CubeSettingsDataSet

instance.UpdateOlapDatabaseSettings(olapDatabaseGuidCube, _
    cubeSettings)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/UpdateOlapDatabaseSettings", 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 UpdateOlapDatabaseSettings(
    Guid olapDatabaseGuidCube,
    CubeSettingsDataSet cubeSettings
)

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