ICubePerspectiveServiceGenerateCubePerspective 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 (24.3.0.1000)
Syntax
CubePerspective GenerateCubePerspective(
	Guid parentId,
	string name,
	Guid nativeStructureId,
	EntityCreationOptions options
)

Parameters

parentId
Type: SystemGuid
The ID of the parent file or folder.
name
Type: SystemString
The name.
nativeStructureId
Type: SystemGuid
The native structure ID.
options
Type: Dundas.BI.EntitiesEntityCreationOptions
Options for saving the new entity; or 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