A Sandcastle Documented Class Library

# ICubePerspectiveService GenerateCubePerspective 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    CubePerspective GenerateCubePerspective(
    	Guid parentId,
    	Guid nativeStructureId,
    	PersistencePolicy persistencePolicy
    )

    Function GenerateCubePerspective (
    	parentId As Guid,
    	nativeStructureId As Guid,
    	persistencePolicy As PersistencePolicy
    ) As CubePerspective

    CubePerspective^ GenerateCubePerspective(
    	Guid parentId,
    	Guid nativeStructureId,
    	PersistencePolicy persistencePolicy
    )

    abstract GenerateCubePerspective :
            parentId : Guid *
            nativeStructureId : Guid *
            persistencePolicy : PersistencePolicy -> CubePerspective

#### Parameters

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

#### Return Value

Type: CubePerspective
The requested entity.
Exceptions

Exception | Condition
--- | ---
ArgumentException | nativeStructureId references a structure that is not compatible with one of the supported types.
NoPrivilegeException | Caller does not have access to the specified object.
InvalidSessionException | The caller context is not associated with a valid session.
DataProviderLoadException | The data provider may throw this exception if it requires third party driver to be installed.
DataConnectionException | The connection cannot be established.
NotFoundException | The data structure with the specified nativeStructureId does not exist.

See Also

#### Reference

ICubePerspectiveService Interface
GenerateCubePerspective Overload
Dundas.BI.Entities.CubePerspectives Namespace