ICubePerspectiveServiceGenerateCubePerspective Method (Guid, Guid, PersistencePolicy)

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 (24.3.0.1000)
Syntax
CubePerspective GenerateCubePerspective(
	Guid parentId,
	Guid nativeStructureId,
	PersistencePolicy persistencePolicy
)

Parameters

parentId
Type: SystemGuid
The ID of the parent file or folder.
nativeStructureId
Type: SystemGuid
The native structure ID.
persistencePolicy
Type: Dundas.BI.EntitiesPersistencePolicy
A value indicating whether the entity should be created as persistent or transient.

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