ICubeSegment

Assembly: Cubes;

Description

The ICubeSegment interface is used to work with a cube segment.

Inheritance Hierarchy

ICubeSegment

Comments

A segment can be obtained using properties and methods of the ICubeSegments interface. A new segment is created using the ICubeSegmentContainer.CreateSegment or ICubeSegments.CreateSegment method.

Each segment has its own set of dimensions consisting of a set of container dimensions.

A segment is an object of the MetabaseObjectClass.KE_CLASS_CUBE_SEGMENT class. After a segment is created based on the specified cube selection, one should grant access permissions to the security subjects that can read and write data. To do this, cast the segment to the IMetabaseObjectDescriptor interface, and in the IMetabaseObjectDescriptor.SecurityDescriptor property get access control parameters, open them in the edit mode using the ISecurityDescriptor.Edit method. Use the ISecurityDescriptor.Acl property to get additional security parameters and add to them read or read/write permission for the required security subject. After this apply changes using the ISecurityDescriptor.Apply method.

To change selection of existing segments, use the ICubeSegmentContainer.ReadSelectionSet/ICubeSegmentContainer.WriteSelectionSet methods.

Properties

  Property name Brief description
Container The Container property returns the container, in which the segment is saved.
Dimensions The Dimensions property returns the collection of cube segment dimensions.
Key The Key property returns key of a cube segment.

See also:

Cubes Assembly Interfaces