ObjectType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration of logical metadata objects in a Tabular model or database. You can use ObjectType to return the type if you don't already know what it is.
public enum ObjectType
type ObjectType =
Public Enum ObjectType
- Inheritance
-
ObjectType
Fields
Name | Value | Description |
---|---|---|
Null | 0 | ObjectType is null if the object is not part of a Tabular model or database at compatibility level 1200 or later. |
Model | 1 | Object type for a Tabular Model created at compatibility level 1200 or above. |
DataSource | 2 | An object of type DataSource in a Tabular Model. |
Table | 3 | An object of type Table in a Tabular model. |
Column | 4 | An object of type Column in a Tabular model. |
AttributeHierarchy | 5 | An object of type AttributeHierarchy in a Tabular model. |
Partition | 6 | An object of type Partition in a Tabular model. |
Relationship | 7 | An object of type Relationship in a Tabular model. |
Measure | 8 | An object of type Measure in a Tabular model. |
Hierarchy | 9 | An object of type Hierarchy in a Tabular model. |
Level | 10 | An object of type Level in a Hiearchy of a Tabular model. |
Annotation | 11 | An object of type Annotation in a Tabular model. |
KPI | 12 | An object of type KPI in a Tabular model. |
Culture | 13 | An object of type Culture in a Tabular model. |
ObjectTranslation | 14 | An object of type ObjectTranslation in a Tabular model. |
LinguisticMetadata | 15 | An object of type LinguisticMetadata in a Tabular model. |
Perspective | 29 | An object of type Perspective in a Tabular model. |
PerspectiveTable | 30 | An object of type PerspectiveTable in a Tabular model. |
PerspectiveColumn | 31 | An object of type PerspectiveColumn in a Tabular model. |
PerspectiveHierarchy | 32 | An object of type PerspectiveHierarchy in a Tabular model. |
PerspectiveMeasure | 33 | An object of type PerspectiveMeasure in a Tabular model. |
Role | 34 | An object of type Role in a Tabular model. |
RoleMembership | 35 | An object of type Microsoft.AnalysisServices.Tabular.RoleMembership in a Tabular model. |
TablePermission | 36 | An object of type TablePermission in a Tabular model. |
Variation | 37 | Missing comment |
Set | 38 | Missing comment |
PerspectiveSet | 39 | Missing comment |
ExtendedProperty | 40 | An object of type ExtendedProperty in a Tabular model. |
Expression | 41 | An object of type NamedExpression in a Tabular model. |
ColumnPermission | 42 | An object of type ColumnPermission in a Tabular model. |
DetailRowsDefinition | 43 | An object of type DetailRowsDefinition in a Tabular model. |
RelatedColumnDetails | 44 | Missing comment |
GroupByColumn | 45 | Missing comment |
CalculationGroup | 46 | An object of type CalculationGroup in a Tabular model. |
CalculationItem | 47 | An object of type CalculationItem in a Tabular model. |
AlternateOf | 48 | An object of type AlternativeOf in a Tabular model. |
RefreshPolicy | 49 | An object of type RefreshPolicy in a Tabular model. |
FormatStringDefinition | 50 | An object of type FormatStringDefinition in a Tabular model. |
QueryGroup | 51 | An object of type QueryGroup in a Tabular model. |
ChangedProperty | 53 | Missing comment |
DataCoverageDefinition | 58 | An object of type DataCoverageDefinition in a Tabular model. |
CalculationExpression | 59 | An object of type CalculationGroupExpression in a Tabular model. |
BindingInfo | 64 | An object of type BindingInfo in a Tabular model. |
Database | 1000 | Specifies that the Annotation or Translation is for a Database object. |