This documentation is archived and is not being maintained.

Field Class

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

public class Field : DataTypeItem

The Field type exposes the following members.

Public methodField

Public propertyAdjustTimeZoneWhether to apply UTCToWarehouseTime conversions to the field. (Inherited from DataTypeItem.)
Public propertyAggregationFunction (Inherited from DataTypeItem.)
Public propertyAttributeHierarchyEnabled (Inherited from DataTypeItem.)
Public propertyComputedExpressionIf the field is a computed column, this will contain the expression to determine the column
Public propertyDisplayFolderNameThe 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 propertyFormatString (Inherited from DataTypeItem.)
Public propertyFriendlyNameThe Friendly Name. (Inherited from NamedItem.)
Public propertyGenerateETLShould 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 propertyIncludeInRelationalInterfaceInclude this field in the autogenerated Relational Interface (that is Fact Views). Default Value: True (Inherited from DataTypeItem.)
Public propertyInstanceSelection (Inherited from DataTypeItem.)
Public propertyIsComputedWhether this field is computed or not
Public propertyIsNumericReturns 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 propertyIsPersonDenotes whether the field is a person field type. (Inherited from DataTypeItem.)
Public propertyIsStringReturns whether the field is a database string type. (Inherited from DataTypeItem.)
Public propertyLength (Inherited from DataTypeItem.)
Public propertyName (Inherited from NamedItem.)
Public propertyNameColumnThis is used for Dimension Fields: the name of the NameColumn for this item in the Cube. Null or Empty String indicates no special NameColumn.
Public propertyPersistentFields 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 propertyRelationalOnly (Inherited from DataTypeItem.)
Public propertySourceFieldThe 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 propertySqlDbTypeConverts the string attribute Type to a SqlDbType. FUTURE: Change Type to be a SqlDbType. (Inherited from DataTypeItem.)
Public propertyTranslation (Inherited from NamedItem.)
Public propertyType (Inherited from DataTypeItem.)
Public propertyVisible (Inherited from DataTypeItem.)

Public methodClone (Inherited from CloneableItem.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsWellFormed (Inherited from DataTypeItem.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodShouldSerializeTranslation (Inherited from NamedItem.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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