A Sandcastle Documented Class Library

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

    MetricSet GenerateDataInputMetricSet(
    	Guid parentId,
    	PersistencePolicy persistencePolicy
    )

    Function GenerateDataInputMetricSet (
    	parentId As Guid,
    	persistencePolicy As PersistencePolicy
    ) As MetricSet

    MetricSet^ GenerateDataInputMetricSet(
    	Guid parentId,
    	PersistencePolicy persistencePolicy
    )

    abstract GenerateDataInputMetricSet :
            parentId : Guid *
            persistencePolicy : PersistencePolicy -> MetricSet

#### Parameters

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

#### Return Value

Type: MetricSet
The newly created metric set.
Exceptions

Exception | Condition
--- | ---
ArgumentException | parentId is Empty.
NotFoundException | parentId does not exist.
NoPrivilegeException | Caller does not have access to the specified object or the necessary data input privilege.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IMetricSetService Interface
Dundas.BI.Entities.MetricSets Namespace