Database 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。
[System.Runtime.InteropServices.Guid("47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8")]
public sealed class Database : Microsoft.AnalysisServices.Core.Database, ICloneable, IDisposable, Microsoft.AnalysisServices.IConnectionStringHolder, Microsoft.AnalysisServices.IMajorObject
[<System.Runtime.InteropServices.Guid("47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8")>]
type Database = class
inherit Database
interface IMajorObject
interface INamedComponent
interface IModelComponent
interface IComponent
interface IDisposable
interface ICloneable
interface IConnectionStringHolder
Public NotInheritable Class Database
Inherits Database
Implements ICloneable, IConnectionStringHolder, IDisposable, IMajorObject
- 繼承
- 屬性
- 實作
建構函式
Database() |
使用預設值,將表格式 Database 的新執行個體初始化。 |
Database(ModelType, Int32) |
使用模型類型和相容性層級,將表格式 Database 物件的新執行個體初始化。 |
Database(String) |
使用名稱將表格式 Database 的新執行個體初始化。 |
Database(String, String) |
使用名稱和識別碼,將表格式 Database 的新執行個體初始化。 |
欄位
MaxIDLength |
指定識別碼的最大長度。 (繼承來源 NamedComponent) |
MaxNameLength |
指定名稱的最大長度。 (繼承來源 NamedComponent) |
屬性
Accounts |
取得在資料庫項目中定義之帳戶類型的集合。 |
AggregationPrefix |
取得或設定要在整個相關聯資料庫中用於彙總名稱的一般前置詞。 |
Annotations |
取得與所有主要物件建立關聯之所有註解的集合。 (繼承來源 MajorObject) |
Assemblies |
取得與資料庫建立關聯的組件集合。 |
Collation |
取得或設定資料庫的定序類型。 (繼承來源 Database) |
CompatibilityLevel |
取得或設定資料庫的相容性層級。 (繼承來源 Database) |
CompatibilityMode |
取得或設定資料庫的相容性層級。 (繼承來源 Database) |
CreatedTimestamp |
取得或設定物件的建立日期和時間。 (繼承來源 MajorObject) |
Cubes |
取得與資料庫建立關聯的 Cube 集合。 |
DatabasePermissions |
取得與資料庫項目建立關聯的資料庫權限項目集合。 |
DataSourceImpersonationInfo |
取得或設定與資料庫建立關聯的模擬資訊。 |
DataSources |
取得與資料庫建立關聯的資料來源集合。 |
DataSourceViews |
取得與資料庫建立關聯的資料來源檢視集合。 |
DbStorageLocation |
取得或設定資料庫的儲存位置。 (繼承來源 Database) |
Description |
取得或設定元件的描述。 (繼承來源 Database) |
Dimensions |
取得與資料庫建立關聯的維度集合。 |
DirectQueryMode |
取得或設定目前資料庫所使用的直接查詢模式。 |
DismissedValidationResults |
取得與資料庫建立關聯的 DismissedValidationResult 集合。 (繼承來源 Database) |
DismissedValidationRules |
取得與資料庫建立關聯的 DismissedValidationRule 集合。 (繼承來源 Database) |
EstimatedSize |
取得或設定父資料庫的唯讀估計大小 (以位元組為單位)。 (繼承來源 Database) |
FriendlyName |
取得元件的使用者易記名稱。 (繼承來源 NamedComponent) |
ID |
取得或設定元件的識別碼。 (繼承來源 NamedComponent) |
ImagePath |
取得或設定影像路徑。 (繼承來源 Database) |
ImageUniqueID |
取得或設定影像的唯一識別碼。 (繼承來源 Database) |
ImageUrl |
取得或設定要顯示之資料庫影像的 URL 路徑。 (繼承來源 Database) |
ImageVersion |
取得或設定資料庫中影像的版本。 (繼承來源 Database) |
IsInTransaction |
取得值,指出資料庫是否會受目前交易影響。 |
IsLoaded |
取得值,指出是否已載入 MajorObject。 (繼承來源 MajorObject) |
KeyForCollection |
取得集合中使用的索引鍵。 (繼承來源 NamedComponent) |
Language |
取得或設定資料庫的語言值。 (繼承來源 Database) |
LastProcessed |
取得或設定上次處理物件的 DateTime。 (繼承來源 ProcessableMajorObject) |
LastSchemaUpdate |
取得或設定上次更新物件結構描述的日期和時間。 (繼承來源 MajorObject) |
LastUpdate |
取得或設定資料庫的上次更新時間。 (繼承來源 Database) |
MasterDataSourceID |
取得或設定資料庫的主要資料來源識別碼。 |
MiningStructures |
取得與資料庫建立關聯的採礦結構集合。 |
Model | |
ModelType |
取得或設定已從中部署資料庫之模型的類型。 預期的值包含預設值 (與多維度相同)、多維度或表格式。 (繼承來源 Database) |
Name |
取得或設定元件的名稱。 (繼承來源 NamedComponent) |
OwningCollection |
取得或設定包含 ModelComponent 的集合。 (繼承來源 ModelComponent) |
Parent | |
ProcessingPriority |
取得或設定資料庫的處理優先權。 |
ReadWriteMode |
取得或設定資料庫的 ReadWriteMode。 (繼承來源 Database) |
Roles |
取得與資料庫建立關聯的角色集合。 |
Site |
取得或設定與元件建立關聯的網站。 (繼承來源 NamedComponent) |
SiteID |
取得或設定與元件相關聯之網站的識別碼。 (繼承來源 NamedComponent) |
State |
取得或設定這個目前執行個體的 AnalysisState。 (繼承來源 ProcessableMajorObject) |
StorageEngineUsed |
取得或設定目前資料庫中使用的儲存引擎。 (繼承來源 Database) |
Translations |
取得與資料庫建立關聯的翻譯集合。 (繼承來源 Database) |
Version |
取得或設定資料庫版本。 (繼承來源 Database) |
Visible |
取得或設定與資料庫建立關聯的可見性布林值屬性。 (繼承來源 Database) |
方法
明確介面實作
ICloneable.Clone() |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IConnectionStringHolder.ReturnPassword |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IDeserializationCallback.OnDeserialization(Object) |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 MajorObject) |
IDeserializationStartCallback.OnDeserializationBegin(Object) |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 MajorObject) |
IFormattable.ToString(String, IFormatProvider) |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 NamedComponent) |
IHostableComponent.Host |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 ModelComponent) |
IMajorObject.BaseType |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.CreateBody() |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.DependsOn(IMajorObject) |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.ObjectReference |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.ParentDatabase |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.ParentServer |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.Path |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IMajorObject.WriteRef(XmlWriter) |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 |
IModelComponent.FriendlyPath |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 ModelComponent) |
IModelComponent.OwningCollection |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 ModelComponent) |
IProcessable.LastProcessed |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 ProcessableMajorObject) |
IProcessable.State |
定義 Microsoft Analysis Services 資料庫。 此類別無法獲得繼承。 (繼承來源 ProcessableMajorObject) |
擴充方法
ToTmdl(Database) |
重要事項:TMDL 仍在預覽狀態,且 API 介面在 GA 之前可能仍會修改! 根據 Secified 資料庫的元數據來建置一組 TMDL 檔。 |
ToTmdl(Database, MetadataSerializationOptions) |
重要事項:TMDL 仍在預覽狀態,且 API 介面在 GA 之前可能仍會修改! 根據 Secified 資料庫的元數據來建置一組 TMDL 檔。 |