Share via


CubeFieldSettingDataSet.ResourceDimensionRow.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:  WebSvcCubeAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

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

CubeFieldSettingDataSet.ResourceDimensionRow members

WebSvcCubeAdmin namespace