DataSourceCollection 類別
Contains a collection of DataSource objects. This class cannot be inherited.
繼承階層
System. . :: . .Object
Microsoft.AnalysisServices. . :: . .ModelComponentCollection
Microsoft.AnalysisServices. . :: . .NamedComponentCollection
Microsoft.AnalysisServices. . :: . .MajorObjectCollection
Microsoft.AnalysisServices..::..DataSourceCollection
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
<GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97")> _
Public NotInheritable Class DataSourceCollection _
Inherits MajorObjectCollection
'用途
Dim instance As DataSourceCollection
[GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97")]
public sealed class DataSourceCollection : MajorObjectCollection
[GuidAttribute(L"DB5C187C-4810-4318-B008-6607DFAD2A97")]
public ref class DataSourceCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97")>]
type DataSourceCollection =
class
inherit MajorObjectCollection
end
public final class DataSourceCollection extends MajorObjectCollection
DataSourceCollection 型別公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (繼承自 ModelComponentCollection。) | |
DemandLoadingService | 基礎結構。 (繼承自 ModelComponentCollection。) | |
IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size. (繼承自 ModelComponentCollection。) | |
IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only. (繼承自 ModelComponentCollection。) | |
IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (繼承自 ModelComponentCollection。) | |
Item[ ( [ ( Int32] ) ] ) | Gets the DataSource at the specified index from the collection. | |
Item[ ( [ ( String] ) ] ) | Gets the DataSource, with the specified identifier, from the collection. | |
ItemsType | Gets the Type of objects that can be contained by the ModelComponentCollection. (繼承自 ModelComponentCollection。) | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (繼承自 ModelComponentCollection。) | |
Preloadable | 基礎結構。 (繼承自 ModelComponentCollection。) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (繼承自 ModelComponentCollection。) |
上層
方法
上層
事件
名稱 | 說明 | |
---|---|---|
CollectionChanged | 基礎結構。 (繼承自 ModelComponentCollection。) | |
CollectionChanging | 基礎結構。 (繼承自 ModelComponentCollection。) |
上層
明確 繼承 實作
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。