CubeFieldSettingDataSet.ResourceMeasureRow.PRIMARY_ENT_TYPE_UID Property

Gets or sets the GUID of the primary cube type (Project, Resource, Task, or Assignment), which can be different from the ENT_TYPE_UID when an assignment custom field is a dimension in an assignment cube.

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
Public Property PRIMARY_ENT_TYPE_UID As Guid
    Get
    Set
'Usage
Dim instance As CubeFieldSettingDataSet.ResourceMeasureRow
Dim value As Guid

value = instance.PRIMARY_ENT_TYPE_UID

instance.PRIMARY_ENT_TYPE_UID = value
public Guid PRIMARY_ENT_TYPE_UID { get; set; }

Property Value

Type: System.Guid

Remarks

Both the ENT_TYPE_UID  value and the PRIMARY_ENT_TYPE_UID value are required in tables of the CubeFieldSettingDataSet. If the ENT_TYPE_UID is for a Project, Resource, or Task custom field dimension, the PRIMARY_ENT_TYPE_UID value is the same as ENT_TYPE_UID. If the ENT_TYPE_UID is for an Assignment custom field dimension, the PRIMARY_ENT_TYPE_UID specifies the primary custom field type (Task or Resource). For example, if you select an Assignment cube, and select the Flag Status_T_Assignment custom field dimension, the ENT_TYPE_UID value is Guid(Microsoft.Office.Project.Server.Library.EntityCollection.Entities.AssignmentEntity.UniqueId) and the PRIMARY_ENT_TYPE_UID value is Guid(Microsoft.Office.Project.Server.Library.EntityCollection.Entities.TaskEntity.UniqueId).

See Also

Reference

CubeFieldSettingDataSet.ResourceMeasureRow Class

CubeFieldSettingDataSet.ResourceMeasureRow Members

CubeAdmin Web Service