Measure Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Warehouse.CloneableItem
    Microsoft.TeamFoundation.Warehouse.NamedItem
      Microsoft.TeamFoundation.Warehouse.DataTypeItem
        Microsoft.TeamFoundation.Warehouse.Measure

Namespace:  Microsoft.TeamFoundation.Warehouse
Assembly:  Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)

Syntax

'Declaration
Public Class Measure _
    Inherits DataTypeItem
public class Measure : DataTypeItem
public ref class Measure : public DataTypeItem
type Measure =  
    class 
        inherit DataTypeItem 
    end
public class Measure extends DataTypeItem

The Measure type exposes the following members.

Constructors

  Name Description
Public method Measure

Top

Properties

  Name Description
Public property AdjustTimeZone Whether to apply UTCToWarehouseTime conversions to the field (Inherited from DataTypeItem.)
Public property AggregationFunction (Inherited from DataTypeItem.)
Public property AttributeHierarchyEnabled (Inherited from DataTypeItem.)
Public property DisplayFolderName The name of the Display Folder for this item in the Cube. Null or Empty String indicates no folder. Currently Display Folders are not translated. (Inherited from DataTypeItem.)
Public property FormatString (Inherited from DataTypeItem.)
Public property FriendlyName The Friendly Name. (Inherited from NamedItem.)
Public property GenerateETL Should this field be included in the auto-generated ETL for the relational warehouse? If it is not included it will not be in the autogenerated stored procedures. Any fields included in the stored procedures must be assigned a value when the stored procedure is called otherwise the row will will be updated to have NULL for that value. (Inherited from DataTypeItem.)
Public property IncludeInRelationalInterface Include this field in the autogenerated Relational Interface (that is Fact Views). Default Value: True (Inherited from DataTypeItem.)
Public property InstanceSelection (Inherited from DataTypeItem.)
Public property IsNumeric Return whether the field is "logically numeric". Currently person fields are stored by using integer SK fields, but this property does not consider them numeric. This property *does* currently consider the SurrogateKey field to be numeric, although some users of the property may want to ignore it. (Inherited from DataTypeItem.)
Public property IsPerson Denotes whether the field is a person field type (Inherited from DataTypeItem.)
Public property IsString Return whether the field is a database string type. (Inherited from DataTypeItem.)
Public property Length (Inherited from DataTypeItem.)
Public property Name (Inherited from NamedItem.)
Public property Persistent Fields such as parent keys can be non-persistent to enable passing them to sprocs for lookup purposes without actually persisting them. Defaults to true. (Inherited from DataTypeItem.)
Public property RelationalOnly (Inherited from DataTypeItem.)
Public property Script
Public property SourceField The source of data for this field. This is used for Fact Fields - a fact field will give you a measure in measure group in the cube. This will be the source column in the DSV for this field. (Inherited from DataTypeItem.)
Public property SqlDbType Convert the string attribute Type to a SqlDbType. FUTURE: Change Type to be a SqlDbType. (Inherited from DataTypeItem.)
Public property Translation (Inherited from NamedItem.)
Public property Type (Inherited from DataTypeItem.)
Public property Visible (Inherited from DataTypeItem.)

Top

Methods

  Name Description
Public method Clone (Inherited from CloneableItem.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsWellFormed (Inherited from DataTypeItem.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ShouldSerializeTranslation (Inherited from NamedItem.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Warehouse Namespace