RelationalDataSource 類別

定義

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

[System.Runtime.InteropServices.Guid("3EDEB818-A0ED-43f2-8CFC-C2330F1EB37E")]
public sealed class RelationalDataSource : Microsoft.AnalysisServices.DataSource
[<System.Runtime.InteropServices.Guid("3EDEB818-A0ED-43f2-8CFC-C2330F1EB37E")>]
type RelationalDataSource = class
    inherit DataSource
Public NotInheritable Class RelationalDataSource
Inherits DataSource
繼承
屬性

建構函式

RelationalDataSource()

使用預設值,初始化 RelationalDataSource 類別的新執行個體。

RelationalDataSource(String, String)

使用指定的名稱和識別碼,初始化 RelationalDataSource 的新執行個體。

欄位

MaxIDLength

指定識別碼的最大長度。

(繼承來源 NamedComponent)
MaxNameLength

指定名稱的最大長度。

(繼承來源 NamedComponent)

屬性

Annotations

取得與所有主要物件建立關聯之所有註解的集合。

(繼承來源 MajorObject)
ConnectionString

取得或設定指定連接資訊的字串。

(繼承來源 DataSource)
ConnectionStringSecurity

取得或設定 DataSource 物件的連接安全性屬性。

(繼承來源 DataSource)
CreatedTimestamp

取得或設定物件的建立日期和時間。

(繼承來源 MajorObject)
DataSourcePermissions

取得與指定之 DataSource 物件建立關聯的資料來源權限。

(繼承來源 DataSource)
Description

取得或設定主要物件的描述。

(繼承來源 MajorObject)
FriendlyName

取得元件的使用者易記名稱。

(繼承來源 NamedComponent)
ID

取得或設定元件的識別碼。

(繼承來源 NamedComponent)
ImpersonationInfo

取得或設定與指定之 DataSource 物件建立關聯的模擬資訊。

(繼承來源 DataSource)
IsLoaded

取得值,指出是否已載入 MajorObject。

(繼承來源 MajorObject)
Isolation

取得或設定 DataSource 物件的 Isolation 屬性。

(繼承來源 DataSource)
KeyForCollection

取得集合中使用的索引鍵。

(繼承來源 NamedComponent)
LastSchemaUpdate

取得或設定上次更新物件結構描述的日期和時間。

(繼承來源 MajorObject)
ManagedProvider

取得或設定 DataSource 物件所用的 Managed 提供者名稱。

(繼承來源 DataSource)
MaxActiveConnections

取得或設定衍生自 DataSource 物件之項目所啟用的並行連線數目上限。

(繼承來源 DataSource)
Name

取得或設定元件的名稱。

(繼承來源 NamedComponent)
OwningCollection

取得或設定包含 ModelComponent 的集合。

(繼承來源 ModelComponent)
Parent

取得 DataSource 物件的父 Database 物件。

(繼承來源 DataSource)
ParentServer

取得 DataSource 物件的父 Server 物件。

(繼承來源 DataSource)
QueryHints

取得或設定資料來源定義中的資料表、檢視表或聯結提示。

(繼承來源 DataSource)
QueryImpersonationInfo

取得或設定連接目前的模擬模式。

(繼承來源 DataSource)
Site

取得或設定與元件建立關聯的網站。

(繼承來源 NamedComponent)
SiteID

取得或設定與元件相關聯之網站的識別碼。

(繼承來源 NamedComponent)
Timeout

取得或設定 DataSource 連接必須經過多少時間長度才會發生逾時。

(繼承來源 DataSource)

方法

AddToContainer(IContainer)

將 ModelComponent 物件新增至指定的容器。

(繼承來源 ModelComponent)
AfterInsert(Int32)

新增到指定的索引位置之後顯示 ModelComponent 物件。

(繼承來源 ModelComponent)
AfterMove(Int32, Int32)

移動到指定的索引之後顯示 ModelComponent 物件。

(繼承來源 ModelComponent)
AfterRemove(ModelComponentCollection)

在移除 ModelComponent 物件後顯示 ModelComponentCollection。

(繼承來源 ModelComponent)
BeforeRemove(Boolean)

在清除之前移除 ModelComponent 物件。

(繼承來源 ModelComponent)
Clone()

傳回物件的複製。

Clone(Boolean)

建立 MajorObject 物件的新複本。

(繼承來源 MajorObject)
CopyTo(MajorObject, Boolean)

將 DataSource 物件複製到指定的物件。

(繼承來源 DataSource)
CopyTo(ModelComponent)

將 ModelComponent 物件複製到指定的物件。

(繼承來源 ModelComponent)
CopyTo(NamedComponent)

將 NamedComponent 物件複製到指定的物件。

(繼承來源 NamedComponent)
CopyTo(RelationalDataSource)

將此物件的內容複製到另一個物件 (目的地)。

Drop()

移除目前的物件並更新伺服器。

(繼承來源 MajorObject)
Drop(DropOptions)

使用指定的選項,移除目前的物件並更新伺服器。

(繼承來源 MajorObject)
Drop(DropOptions, XmlaWarningCollection)

使用指定的選項,移除目前的物件並更新伺服器。 在指定的警告物件上傳回卸除作業所產生的警告。

(繼承來源 MajorObject)
Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection)

使用指定的選項,移除目前的物件並更新伺服器。 在指定的警告變數上傳回卸除作業所產生的警告,並且在指定的 impactResult 變數上傳回作業中受影響物件的結果。

(繼承來源 MajorObject)
Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean)

使用指定的選項,移除目前的物件並更新伺服器。 在指定的警告變數上傳回卸除作業所產生的警告,並且在指定的 impactResult 變數上傳回作業中受影響物件的結果。

(繼承來源 MajorObject)
GetCreateReferences(Hashtable, Boolean, Boolean)

取得 Hashtable 來建立參考。

(繼承來源 MajorObject)
GetDependents(Hashtable)

將後續相依項目新增至指定的 Hashtable。

(繼承來源 DataSource)
GetDropDependents(Hashtable, Hashtable)

取得卸除相依項目。

(繼承來源 DataSource)
GetProvider()

從連接字串傳回 Provider 屬性值。

(繼承來源 DataSource)
GetReferences(Hashtable, Boolean)

取得資料來源所參考的物件。

(繼承來源 DataSource)
GetUpdateOverwrites(Boolean)

取得覆寫更新之 MajorObject 的 Hashtable 物件。

(繼承來源 MajorObject)
Refresh()

從伺服器定義更新物件。

(繼承來源 MajorObject)
Refresh(Boolean)

更新來自伺服器定義的物件,而且如果指定的話,也更新載入的相依物件。

(繼承來源 MajorObject)
Refresh(Boolean, RefreshType)

更新來自伺服器定義的物件,而且如果指定的話,也更新載入的相依物件。

(繼承來源 MajorObject)
RemoveFromContainer(IContainer)

將 ModelComponent 物件從指定的容器中移除。

(繼承來源 ModelComponent)
Reset()

將元件重設為其初始狀態。

(繼承來源 NamedComponent)
Submit()

提交 ModelComponent 物件。

(繼承來源 ModelComponent)
Submit(Boolean)

提交 ModelComponent 物件。

(繼承來源 ModelComponent)
ToString()

傳回字串。字串表示目前的具名元件。

(繼承來源 NamedComponent)
Update()

使用預設值來更新相依物件,將目前物件的伺服器定義更新為實際值。

(繼承來源 MajorObject)
Update(UpdateOptions)

使用指定的選項來更新相依物件,將目前物件的伺服器定義更新為實際值。

(繼承來源 MajorObject)
Update(UpdateOptions, UpdateMode)

使用指定的選項來更新相依物件,將目前物件的伺服器定義更新為實際值。

(繼承來源 MajorObject)
Update(UpdateOptions, UpdateMode, XmlaWarningCollection)

使用指定的選項來更新相依物件,將目前物件的伺服器定義更新為實際值,並且報告作業所產生的任何警告。

(繼承來源 MajorObject)
Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection)

使用指定的選項來更新相依物件,將目前物件的伺服器定義更新為實際值,報告作業所產生的任何警告,並且從作業中傳回受影響的物件。

(繼承來源 MajorObject)
Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean)

使用指定的選項來更新相依物件,將目前物件的伺服器定義更新為實際值,報告作業所產生的任何警告,並且從作業中傳回受影響的物件。 如果 analyzeImpactOnly 為 true,影響分析作業執行時不會進行更新作業。

(繼承來源 MajorObject)
Validate(ValidationErrorCollection)

驗證它附加至的元素;傳回集合中遇到的任何錯誤。

(繼承來源 ModelComponent)
Validate(ValidationErrorCollection, Boolean)

驗證它附加至的元素;傳回集合中遇到的任何錯誤。 也包含可傳回詳細錯誤的參數。

(繼承來源 ModelComponent)
Validate(ValidationErrorCollection, Boolean, ServerEdition)

判斷資料來源是否有效。

(繼承來源 DataSource)
Validate(ValidationResultCollection)

指出 MajorObject 是否有效。

(繼承來源 MajorObject)
Validate(ValidationResultCollection, ValidationOptions)

指出 MajorObject 是否有效。

(繼承來源 MajorObject)
Validate(ValidationResultCollection, ValidationOptions, ServerEdition)

指出 MajorObject 是否有效。

(繼承來源 MajorObject)

明確介面實作

ICloneable.Clone()

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IConnectionStringHolder.ReturnPassword

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IDeserializationCallback.OnDeserialization(Object)

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 MajorObject)
IDeserializationStartCallback.OnDeserializationBegin(Object)

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 MajorObject)
IFormattable.ToString(String, IFormatProvider)

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 NamedComponent)
IHostableComponent.Host

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 ModelComponent)
IMajorObject.BaseType

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IMajorObject.CreateBody()

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IMajorObject.DependsOn(IMajorObject)

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IMajorObject.ObjectReference

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IMajorObject.ParentDatabase

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IMajorObject.Path

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IMajorObject.WriteRef(XmlWriter)

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 DataSource)
IModelComponent.FriendlyPath

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 ModelComponent)
IModelComponent.OwningCollection

表示以關聯式資料來源為基礎的 DataSource 項目。 此類別無法獲得繼承。

(繼承來源 ModelComponent)

適用於