Microsoft.AnalysisServices.Tabular 命名空間

提供用來管理 Analysis Services 表格式伺服器執行個體、資料庫、角色和組件的物件 API。 此命名空間以相容性層級 1200 或更高版本的表格式資料庫為目標,其中物件會在表格式元數據中描述為數據表、數據行和關聯性。

呼叫到 AMO 中的指令碼和 Managed 程式碼應該使用此命名空間中的類別和成員,來表示表格式模型中的物件。 使用此命名空間時,記得也要將參考加入 Microsoft.AnalysisServices.Core 中。

類別

AlternateOf

表示 AlternativeSource 物件。 它是 Table 或 Column 物件的子系。

AlternateOfAnnotationCollection

Annotation 物件的集合。

Annotation

結構描述的擴充功能,用於以成對的名稱和數值形式傳遞物件特定資訊,以供用戶端應用程式使用。 Analysis Services 不會解譯或驗證註解。 註解的定義為模型中邏輯中繼資料物件的子節點。

AttributeHierarchy

代表資料表中資料行的屬性階層。 它是 Column 物件的選擇性子物件,並會由伺服器隱含建立。 當屬性階層存在時,資料行將用作多維度引擎中的階層,並可使用 MDX 來查詢。

AttributeHierarchyAnnotationCollection

Annotation 物件的集合。

AttributeHierarchyExtendedPropertyCollection

ExtendedProperty 物件的集合。

AuthenticationKind

定義資料來源如何驗證的 DataSource.Credential.AuthenticationKind 常數。

AutomaticAggregationOptions

Model.AutomaticAggregationOptions 屬性的值

BasicRefreshPolicy

表示 BasicRefreshPolicy 物件。 它是 Table 物件的子節點。

CalculatedColumn

代表資料行是以資料表中的 DAX 運算式為基底,該資料表也包含 DataColumns 和 RowNumberColumn。 CalculatedColumn 也可以加入導出資料表中。

CalculatedPartitionSource

代表 CalculatedTable 物件的分割區。

CalculatedTableColumn

代表以 DAX 運算式為基底之資料表中的資料行。 CalculatedTableColumn 的集合 (位於資料表物件底下,該資料表物件繫結至具有類型 CalculatedPartitionSource 之來源的分割區) 會產生導出資料表。

CalculationGroup

表示計算專案的集合。

CalculationGroupAnnotationCollection

Annotation 物件的集合。

CalculationGroupExpression

表格式 CalculationGroupExpression 物件。 當無法套用計算專案時,此物件上定義的表達式將會套用至 DAX 查詢中選取的量值。

CalculationGroupSource

表示以 CalculationGroup 內容為基礎的分割區。

CalculationItem

表格式計算專案。

CalculationItemCollection

CalculationItem 物件的集合。

ChangedProperty

表示變更其中一個物件屬性的指示。

Column

代表表格式模型中資料行物件的基底類別,用來指定 DataColumn、RowNumberColumn、CalculatedColumn 或 CalculatedTableColumn。

ColumnAnnotationCollection

Annotation 物件的集合。

ColumnChangedPropertyCollection

ChangedProperty 物件的集合。

ColumnCollection

Column 物件的集合。

ColumnExtendedPropertyCollection

ExtendedProperty 物件的集合。

ColumnPermission

在資料行上定義角色 (Role) 的安全性規則。 它是 TablePermission 物件的子系。

ColumnPermissionAnnotationCollection

Annotation 物件的集合。

ColumnPermissionCollection

ColumnPermission 物件的集合。

ColumnPermissionExtendedPropertyCollection

ExtendedProperty 物件的集合。

CompatibilityViolationException

表示當模型中的物件或屬性需要高於資料庫所支援之相容性層級時所引發的例外狀況。

ConnectionAddress

連線的位址。 它包含通訊協定名稱和通訊協定的特定屬性,例如伺服器和資料庫名稱。

ConnectionAddressProperty

DataSource.Address 字典中的索引鍵

ConnectionDetails

通訊協定及位址,用來連接資料來源

Credential

用來驗證結構化資料來源的選項

CredentialProperty

DataSource.Credential 字典中的索引鍵

Culture

代表使用者文化特性。 它是 Model 物件的子節點,用於翻譯字串及設定值的格式。

CultureAnnotationCollection

Annotation 物件的集合。

CultureCollection

Culture 物件的集合。

CultureExtendedPropertyCollection

ExtendedProperty 物件的集合。

CustomJsonProperty<TOwner>

自定義屬性的基類,表示 JSON 物件做為相異屬性的集合。

DataAccessOptions

Model.DataAccessOptions 屬性的值

Database

指定 Analysis Services 表格式或多維度資料庫。 此類別無法獲得繼承。 伺服器模式和模型類型將決定您是否能繼續建立或修改模型樹狀結構。 具體來說,如果您呼叫 Tabular.Database,只有在模型是相容性層級為 1200 的表格式時,才可以修改其模型。

DatabaseCollection

表示 Database 物件的集合。 此類別無法獲得繼承。

DataColumn

代表從外部資料來源取得資料之資料表中的資料行。

DataCoverageDefinition

表格式 DataCoverageDefinition 物件。 在這個物件上定義的表示式會提供數據分割中數據的提示。

DataCoverageDefinitionAnnotationCollection

Annotation 物件的集合。

DataSource

可為外部資料來源定義開放的連線,以進行表格式 Model 的匯入、重新整理或 DirectQuery 作業。

DataSourceAnnotationCollection

Annotation 物件的集合。

DataSourceCollection

DataSource 物件的集合。

DataSourceExtendedPropertyCollection

ExtendedProperty 物件的集合。

DataSourceOptions

DataSource.Options 屬性的值

DataSourceProtocol

可能的 DataSource.Protocol 值

DeserializeOptions

控制 JSON 文件在還原序列化期間之處理方式的旗標。

DetailRowsDefinition

代表 DetailRowsDefinition 物件。 它是 Measure 物件或 Table 物件的子項目。

EntityPartitionSource

代表來自基礎 DataSource/Provider 的物件參考所支援的資料分割。

ExtendedProperty

結構描述的延伸模組,其用於以名稱/值對的形式傳遞物件的特定資訊,以供用戶端應用程式透過 TOM 和 CSDL 使用。 如果類型設定為 JSON,Analysis Service 會驗證它是否為正確格式的 JSON。 ExtendedProperty 的定義為模型中邏輯中繼資料物件的子系。

ExternalModelRoleMember

僅供內部使用。

FormatStringDefinition

代表 FormatStringDefinition 物件。 它是 Measure 或 CalculationItem 的子系。

GroupByColumn

Column 物件的延伸,其中保存其分組依據的數據行清單

GroupByColumnCollection

GroupByColumn 物件的集合。

Hierarchy

代表層級的集合,該集合提供用戶端應用程式的邏輯階層式向下鑽研路徑。 它是 Table 物件的子節點。

HierarchyAnnotationCollection

Annotation 物件的集合。

HierarchyChangedPropertyCollection

ChangedProperty 物件的集合。

HierarchyCollection

Hierarchy 物件的集合。

HierarchyExtendedPropertyCollection

ExtendedProperty 物件的集合。

InferredPartitionSource

表示數據分割,其數據會藉由執行系統所產生的查詢來填入。

JsonExtendedProperty

表示含有 JSON 值的 ExtendedProperty。

JsonScripter

將表格式 aatabase 或元數據物件編寫成 JSON 腳本的協助程式類別。

JsonSerializer

將記憶體內部物件樹狀結構雙向轉換為 JSON。 JSON 用於表格式模型或相容性層級為 1200 或更高之表格式資料庫中的物件定義。

KPI

代表關鍵效能指標物件。 它是 Measure 物件的子節點。

KPIAnnotationCollection

Annotation 物件的集合。

KPIExtendedPropertyCollection

ExtendedProperty 物件的集合。

Level

代表階層中的層級,該層級為用戶端應用程式提供邏輯階層式向下鑽研路徑。 它是 Hierarchy 物件的子節點。 層級是以資料行的值為基底。

LevelAnnotationCollection

Annotation 物件的集合。

LevelChangedPropertyCollection

ChangedProperty 物件的集合。

LevelCollection

Level 物件的集合。

LevelExtendedPropertyCollection

ExtendedProperty 物件的集合。

LinguisticMetadata

保留表格式模型的同義資訊。 它是 Culture 物件的子節點。

LinguisticMetadataAnnotationCollection

Annotation 物件的集合。

LinguisticMetadataExtendedPropertyCollection

ExtendedProperty 物件的集合。

Measure

代表以運算式為基底所計算的值。 它是 Table 物件的子節點。

MeasureAnnotationCollection

Annotation 物件的集合。

MeasureChangedPropertyCollection

ChangedProperty 物件的集合。

MeasureCollection

Measure 物件的集合。

MeasureExtendedPropertyCollection

ExtendedProperty 物件的集合。

MetadataObject

位於 Tabular 物件之類別階層中的基底類別。

MetadataObjectCollection<T,P>

代表中繼資料物件的集合。

Model

建立於相容性層級為 1200 或更高的表格式模型。

ModelAnnotationCollection

Annotation 物件的集合。

ModelExtendedPropertyCollection

ExtendedProperty 物件的集合。

ModelOperationResult

代表 Model 上的作業結果,例如 Sync() 與 SaveChanges()

ModelRole

定義一組套用安全性規則的使用者主體。 它是 Model 物件的子節點。

ModelRoleAnnotationCollection

Annotation 物件的集合。

ModelRoleCollection

ModelRole 物件的集合。

ModelRoleExtendedPropertyCollection

ExtendedProperty 物件的集合。

ModelRoleMember

定義屬於角色的使用者主體。 它是 Role 物件的子節點。

ModelRoleMemberAnnotationCollection

Annotation 物件的集合。

ModelRoleMemberCollection

ModelRoleMember 物件的集合。

ModelRoleMemberExtendedPropertyCollection

ExtendedProperty 物件的集合。

MPartitionSource

代表 M 運算式所支援的分割區。

NamedExpression

可由一或多個分割區使用的具名運算式。

NamedExpressionAnnotationCollection

Annotation 物件的集合。

NamedExpressionCollection

NamedExpression 物件的集合。

NamedExpressionExtendedPropertyCollection

ExtendedProperty 物件的集合。

NamedMetadataObject

依據其名稱代表 Tabular 中繼資料物件。

NamedMetadataObjectCollection<T,P>

具名的中繼資料物件集合。

ObjectImpact

代表對一或多個使用者作業產生的模型樹狀結構進行的修改,可能為加入新物件、移除現有的物件,或變更物件屬性。

ObjectReference

提供物件的連結。 此類別無法獲得繼承。

ObjectTranslation

代表 Culture 父物件的中繼資料屬性翻譯。 可以翻譯中繼資料物件的 Name 和 Description 等屬性。 如果未經翻譯,則會使用在主要物件上指定的屬性。 ObjectTranslation 物件對正在翻譯的物件有弱式類型參考。

ObjectTranslationCollection

ObjectTranslation 物件的集合。

OutOfSyncException

提供不同步錯誤。

ParquetPartitionSource

表示數據分割,其數據會藉由執行系統所產生的查詢來填入。

Partition

代表資料表中的分割區。 資料分割定義針對外部資料來源的查詢,這些外部資料來源傳回 Table 的資料列集。

PartitionAnnotationCollection

Annotation 物件的集合。

PartitionCollection

Partition 物件的集合。

PartitionExtendedPropertyCollection

ExtendedProperty 物件的集合。

PartitionSource

所有資料分割來源的基底類別:QueryPartitionSource、CalculatedPartitionSource、MPartitionSource、EntityPartitionSource。

Perspective

透過模型中定義的邏輯檢視和 Model 物件的子節點。 它可以隱藏資料表、資料行、量值和階層,讓使用者可以查詢大型資料模型中較小的子集。

PerspectiveAnnotationCollection

Annotation 物件的集合。

PerspectiveCollection

Perspective 物件的集合。

PerspectiveColumn

在檢視方塊中包含資料表的資料行。 它是 PerspectiveTable 物件的子節點。

PerspectiveColumnAnnotationCollection

Annotation 物件的集合。

PerspectiveColumnCollection

PerspectiveColumn 物件的集合。

PerspectiveColumnExtendedPropertyCollection

ExtendedProperty 物件的集合。

PerspectiveExtendedPropertyCollection

ExtendedProperty 物件的集合。

PerspectiveHierarchy

在檢視方塊中包含資料表的階層。 它是 PerspectiveTable 物件的子節點。

PerspectiveHierarchyAnnotationCollection

Annotation 物件的集合。

PerspectiveHierarchyCollection

PerspectiveHierarchy 物件的集合。

PerspectiveHierarchyExtendedPropertyCollection

ExtendedProperty 物件的集合。

PerspectiveMeasure

在檢視方塊中包含資料表的量值。 它是 PerspectiveTable 物件的子節點。

PerspectiveMeasureAnnotationCollection

Annotation 物件的集合。

PerspectiveMeasureCollection

PerspectiveMeasure 物件的集合。

PerspectiveMeasureExtendedPropertyCollection

ExtendedProperty 物件的集合。

PerspectiveSet

PerspectiveSet 物件。

PerspectiveSetAnnotationCollection

Annotation 物件的集合。

PerspectiveSetCollection

PerspectiveSet 物件的集合。

PerspectiveSetExtendedPropertyCollection

ExtendedProperty 物件的集合。

PerspectiveTable

在 Perspective 中加入資料表。 它是 Perspective 物件的子節點。 PerspectiveColumns、PerspectiveMeasures 和 PerspectiveHierarchies 子物件可讓您自訂資料表的哪些部分會顯示在檢視方塊中。

PerspectiveTableAnnotationCollection

Annotation 物件的集合。

PerspectiveTableCollection

PerspectiveTable 物件的集合。

PerspectiveTableExtendedPropertyCollection

ExtendedProperty 物件的集合。

PolicyRangePartitionSource

表示以範圍重新整理原則為基礎的分割區

PrivacyClass

DataSource.Credential.PrivacySetting 的常數,可定義資料來源的資料如何與所產生查詢中的其他資料來源共用。

PropertyChangeEntry

代表中繼資料物件屬性修改的相關資訊。

ProviderDataSource

代表將連接字串用於連線的資料來源。

QueryGroup

表示 QueryGroup 物件。 與 Partition 或 NamedExpression 對象相關聯。

QueryGroupAnnotationCollection

Annotation 物件的集合。

QueryGroupCollection

QueryGroup 物件的集合。

QueryPartitionSource

提供以外部資料來源之原生查詢語言撰寫的查詢,以用來擷取單一資料分割的資料配量。

RefreshPolicy

表示抽象的 RefreshPolicy 物件。 它是 Table 物件的子節點。

RefreshPolicyAnnotationCollection

Annotation 物件的集合。

RefreshPolicyExtendedPropertyCollection

ExtendedProperty 物件的集合。

RelatedColumnDetails

Column 物件的延伸,其中保存其分組依據的數據行清單

Relationship

代表兩個 Table 物件之間的邏輯關聯性。 它是 Model 物件的子節點。

RelationshipAnnotationCollection

Annotation 物件的集合。

RelationshipChangedPropertyCollection

ChangedProperty 物件的集合。

RelationshipCollection

Relationship 物件的集合。

RelationshipExtendedPropertyCollection

ExtendedProperty 物件的集合。

RemovedSubtreeEntry

代表從物件樹狀結構移除的樹狀子目錄相關資訊。

Role

代表與使用者群組相關聯的安全性層級。 此類別無法獲得繼承。

RoleCollection

表示 Role 物件的集合。 此類別無法獲得繼承。

RowNumberColumn

代表在伺服器上建立物件之後,由伺服器自動加入每個資料表的內部資料行中。

SaveOptions

表示控制模型 SaveChanges 作業行為的進階設定。

SerializeOptions

用來控制中繼資料物件序列化輸出的旗標。

Server

表示 Analysis Services 的執行個體,並提供可讓您控制該執行個體的方法和成員。 此類別無法獲得繼承。

SessionTrace

代表追蹤工作階段。 此類別無法獲得繼承。

Set

設定物件。

SetAnnotationCollection

Annotation 物件的集合。

SetCollection

Set 物件的集合。

SetExtendedPropertyCollection

ExtendedProperty 物件的集合。

SingleColumnRelationship

SingleColumnRelationship 物件。

StringExtendedProperty

代表 ExtendedProperty 與 String 值。

StructuredDataSource

代表使用 JSON 型可延伸通訊協定來定義位置和資料擷取機制的資料來源。

SyncOptions

控制同步插入行為的設定。

Table

代表資料模型中的資料表。 Table 物件是 Model 物件下 TableCollection 物件的成員。 其中包含 ColumnCollection。 如果 Table 是導出資料表,資料列則以 Partition 物件或 CalculatedPartitionSource 為基礎。

TableAnnotationCollection

Annotation 物件的集合。

TableChangedPropertyCollection

ChangedProperty 物件的集合。

TableCollection

Table 物件的集合。

TableExtendedPropertyCollection

ExtendedProperty 物件的集合。

TablePermission

在 Table 上定義 Role 的安全性規則。 它是 Role 物件的子節點。

TablePermissionAnnotationCollection

Annotation 物件的集合。

TablePermissionCollection

TablePermission 物件的集合。

TablePermissionExtendedPropertyCollection

ExtendedProperty 物件的集合。

TmdlSerializer

重要事項:TMDL 仍在預覽狀態,而且 API 介面在 GA 之前可能仍會修改!

   Two-way conversion of an in-memory object tree to TMDL. TMDL is used for object definitions in a Tabular model or Tabular database at compatibility level 1200 and greater.
TomException

代表表格式物件模型錯誤或警告發生時所引發的一般例外狀況。

TomInternalException

表示內部錯誤的來源為不確定或在堆疊中較低時發生。

TomValidationException

代表中繼資料物件狀態中不一致的情形,該情形導致目前的作業無法完成。

Trace

提供儲存事件記錄檔的機制,以供稍後檢視或重新執行。 此類別無法獲得繼承。

TraceCollection

表示 Trace 物件的集合。 此類別無法獲得繼承。

TraceColumnCollection

表示 TraceColumn 物件的集合。 此類別無法獲得繼承。

TraceEvent

表示追蹤事件。

TraceEventArgs

定義與追蹤事件相關聯的識別碼和值。 此類別無法獲得繼承。

TraceEventCollection

表示 TraceEvent 物件的集合。 此類別無法獲得繼承。

TraceStoppedEventArgs

表示追蹤停止的事件。

Utils

主要用於名稱驗證和語法檢查的一般用途公用程式。

ValidationError

代表在驗證中繼資料物件樹狀結構期間找到的錯誤。

ValidationResult

代表中繼資料物件樹狀結構一致性驗證的結果。

Variation

Variation 物件。

VariationAnnotationCollection

Annotation 物件的集合。

VariationCollection

Variation 物件的集合。

VariationExtendedPropertyCollection

ExtendedProperty 物件的集合。

WindowsModelRoleMember

代表個別 Windows 使用者帳戶或 Windows 安全性群組。

介面

IMajorObject

表格式解決方案的主要物件,例如伺服器、資料庫、角色和追蹤。 主要物件是舊版 AMO 用戶端程式庫的構件,其中將物件分類為主要或次要。

IMetadataObjectWithLineage

可能有譜系關聯的元數據物件。

ITrace

提供儲存事件記錄檔的機制,以供稍後檢視或重新執行。

列舉

AggregateFunction

指定彙總函式,讓報表工具用來摘要資料行的值。

Alignment

對齊資料格內資料的可能值列舉。

CalculationGroupSelectionMode

不會叫用計算項目的計算群組選項。

ColumnType

資料行類型的可能值列舉。

ContentType

字串內容的型別。 E.g. XML或 JSON。

CrossFilteringBehavior

表示關聯性如何影響資料的篩選。 列舉會定義可能的行為。

DatasourceIsolation

在對資料來源執行命令時,控制 SQL 陳述式的鎖定行為。

DataSourceType

DataSource 的類型。 目前,唯一可能的值為 Provider。

DataSourceVariablesOverrideBehaviorType

數據源編輯 varaibles 會覆寫行為類型。 例如不允許或允許。

DataType

描述資料行中包含的資料類型。

DataViewType

決定要選取哪些分割區來對模型執行查詢。

DateTimeRelationshipBehavior

在聯結兩個日期時間資料行時,指出要聯結日期與時間部分,或只有日期部分。

DirectLakeBehavior

Direct Lake 模型的後援行為。

EncodingHintType

編碼提示,其會建議資料行是否應該使用雜湊編碼。

ExpressionKind

表示查詢運算式的方言。

ExtendedPropertyType

針對擴充屬性中所儲存的值類型,可能的值列舉。

HierarchyHideMembersType

藉由隱藏成員,您可以啟用不完全階層/不對稱階層。

ImpersonationMode

決定針對資料匯入或重新整理期間,連線至資料來源的模擬連線如何取得認證。

MetadataPermission

由中繼資料物件定義的資料存取控制。

ModelPermission

可於 Role 物件內使用的可能模型權限列舉。

ModeType

定義讓資料可在分割區中使用的方法。

ObjectState

物件狀態的可能值列舉。

ObjectType

表格式模型或資料庫中邏輯中繼資料物件的列舉。 如果您尚未得知其內容,可以使用 ObjectType 傳回類型。

PartitionSourceType

分割區來源的可能值列舉。

PowerBIDataSourceVersion

Power BI 服務中的 DataSource 格式版本。

RefreshGranularityType

指定自動分割的重新整理原則粒度

RefreshPolicyBehavior

重新整理中有關重新整理原則控管對象的行為。

RefreshPolicyMode

重新整理原則的模式。

RefreshPolicyType

指定數據表的重新整理原則類型

RefreshType

重新整理類型的可能值列舉。

RelationshipEndCardinality

可能值的列舉,用來定義資料表關聯性任一邊的基數。

RelationshipType

關聯性的類型。 目前,唯一可能的值為 SingleColumn。

RoleMemberType

指出特定安全性角色的成員為個別使用者或一群使用者,或是否自動偵測該成員。

SaveFlags

可用來控制SaveChanges作業行為的進階選項。

SecurityFilteringBehavior

表示在評估資料列層級安全性運算式時,關聯性如何影響資料的篩選。 列舉會定義可能的行為。

SummarizationType

指定替代來源資料行要使用的摘要類型。

TranslatedProperty

指定正在翻譯物件的哪一項屬性。

ValueFilterBehaviorType

決定 SummarizeColumns 的值篩選行為

委派

TraceEventHandler

表示 Analysis Services 追蹤事件處理常式。

TraceStoppedEventHandler

當追蹤停止時,表示事件處理常式。