Open this page in the API Guide

ICubePerspectiveService.GenerateCubePerspective Method (Guid, String, Guid, EntityCreationOptions)

Generates a CubePerspective instance based on the specified OLAP cube.

Namespace:  Dundas.BI.Entities.CubePerspectives
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
CubePerspective GenerateCubePerspective(
	Guid parentId,
	string name,
	Guid nativeStructureId,
	EntityCreationOptions options
)

Parameters

parentId
Type: System.Guid
The ID of the parent file or folder.
name
Type: System.String
The name.
nativeStructureId
Type: System.Guid
The native structure ID.
options
Type: Dundas.BI.Entities.EntityCreationOptions
Options for saving the new entity; or null to use the default options.

Return Value

Type: CubePerspective
The requested entity.
Exceptions
ExceptionCondition
ArgumentExceptionnativeStructureId references a structure that is not compatible with one of the supported types.
NoPrivilegeExceptionCaller does not have access to the specified object.
InvalidSessionExceptionThe caller context is not associated with a valid session.
DataProviderLoadExceptionThe data provider may throw this exception if it requires third party driver to be installed.
DataConnectionExceptionThe connection cannot be established.
NotFoundExceptionThe data structure with the specified nativeStructureId does not exist.
QuotaExceededExceptionGenerating the item would cause the entity quota for this item type or one of the underlying entity types to be exceeded.
See Also