共用方式為


CubeAdmin.UpdateCubeFieldSettingForDimension Method

Updates the settings for fields that will be used as cube dimensions.

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/UpdateCubeFieldSettingForDimension", 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 UpdateCubeFieldSettingForDimension ( _
    Dim_Project_PropUID_Add As Guid(), _
    Dim_Project_PropUID_Del As Guid(), _
    Dim_Resource_PropUID_Add As Guid(), _
    Dim_Resource_PropUID_Del As Guid(), _
    Dim_Task_PropUID_Add As Guid(), _
    Dim_Task_PropUID_Del As Guid(), _
    Dim_Assignment_PropUID_Add As Guid(), _
    Dim_Assignment_PropUID_Del As Guid() _
)
'Usage
Dim instance As CubeAdmin
Dim Dim_Project_PropUID_Add As Guid()
Dim Dim_Project_PropUID_Del As Guid()
Dim Dim_Resource_PropUID_Add As Guid()
Dim Dim_Resource_PropUID_Del As Guid()
Dim Dim_Task_PropUID_Add As Guid()
Dim Dim_Task_PropUID_Del As Guid()
Dim Dim_Assignment_PropUID_Add As Guid()
Dim Dim_Assignment_PropUID_Del As Guid()

instance.UpdateCubeFieldSettingForDimension(Dim_Project_PropUID_Add, _
    Dim_Project_PropUID_Del, Dim_Resource_PropUID_Add, _
    Dim_Resource_PropUID_Del, Dim_Task_PropUID_Add, _
    Dim_Task_PropUID_Del, Dim_Assignment_PropUID_Add, _
    Dim_Assignment_PropUID_Del)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/UpdateCubeFieldSettingForDimension", 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 UpdateCubeFieldSettingForDimension(
    Guid[] Dim_Project_PropUID_Add,
    Guid[] Dim_Project_PropUID_Del,
    Guid[] Dim_Resource_PropUID_Add,
    Guid[] Dim_Resource_PropUID_Del,
    Guid[] Dim_Task_PropUID_Add,
    Guid[] Dim_Task_PropUID_Del,
    Guid[] Dim_Assignment_PropUID_Add,
    Guid[] Dim_Assignment_PropUID_Del
)

Parameters

  • Dim_Project_PropUID_Add
    Type: []
    Array of project GUIDs to add.
  • Dim_Project_PropUID_Del
    Type: []
    Array of project GUIDs to delete.
  • Dim_Resource_PropUID_Add
    Type: []
    Array of resource GUIDs to add.
  • Dim_Resource_PropUID_Del
    Type: []
    Array of resource GUIDs to delete.
  • Dim_Task_PropUID_Add
    Type: []
    Array of task GUIDs to add.
  • Dim_Task_PropUID_Del
    Type: []
    Array of task GUIDs to delete.
  • Dim_Assignment_PropUID_Add
    Type: []
    Array of assignment GUIDs to add.
  • Dim_Assignment_PropUID_Del
    Type: []
    Array of assignment GUIDs to delete.

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