A Sandcastle Documented Class Library

# TimeDimension Constructor (Guid, ICollection Int32 , ParameterValueCollection)

Initializes a new instance of the TimeDimension class.

Namespace: Dundas.BI.Entities.TimeDimensions
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public TimeDimension(
    	Guid providerId,
    	ICollection<int> timeIntervals,
    	ParameterValueCollection providerValues
    )

    Public Sub New (
    	providerId As Guid,
    	timeIntervals As ICollection(Of Integer),
    	providerValues As ParameterValueCollection
    )

    public:
    TimeDimension(
    	Guid providerId,
    	ICollection<int>^ timeIntervals,
    	ParameterValueCollection^ providerValues
    )

    new :
            providerId : Guid *
            timeIntervals : ICollection<int> *
            providerValues : ParameterValueCollection -> TimeDimension

#### Parameters

providerId
  Type: System
  Guid
  The ID of the time dimension provider used by the connector.
timeIntervals
  Type: System.Collections.Generic
  ICollection
  Int32
  The time intervals.
providerValues
  Type: Dundas.BI.Data.Parameters
  ParameterValueCollection
  The time dimension provider-specific settings. If
  , the default settings will be used.

Exceptions

Exception | Condition
--- | ---
ArgumentException | providerId is Empty.
InvalidSessionException | The caller context is not associated with a valid session.
InvalidProviderException | The time dimension provider cannot be loaded.
ArgumentException | The timeIntervals was or empty.

Remarks
Use Save(TimeDimension) to save the instance.
See Also

#### Reference

TimeDimension Class
TimeDimension Overload
Dundas.BI.Entities.TimeDimensions Namespace