IMetricSetServiceGenerateDataInputMetricSet Method

Creates and saves a MetricSet that allows user data input.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
MetricSet GenerateDataInputMetricSet(
	Guid parentId,
	PersistencePolicy persistencePolicy
)

Parameters

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

Return Value

Type: MetricSet
The newly created metric set.
Exceptions
ExceptionCondition
ArgumentExceptionparentId is Empty.
NotFoundExceptionparentId does not exist.
QuotaExceededExceptionGenerating the metric set would cause the entity quota for metric sets or one of the underlying entity types to be exceeded.
NoPrivilegeExceptionCaller does not have access to the specified object or the necessary data input privilege.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also