DataSourceCollection Members
Contains a collection of DataSource objects. This class cannot be inherited.
The following tables list the members exposed by the DataSourceCollection type.
Public Properties
(see also Protected Properties )
名称 | Description | |
---|---|---|
![]() |
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (inherited from ModelComponentCollection) |
![]() |
IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size. (inherited from ModelComponentCollection) |
![]() |
IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only. (inherited from ModelComponentCollection) |
![]() |
IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (inherited from ModelComponentCollection) |
![]() |
Item | Overloaded. Gets the specified DataSource from the collection. |
![]() |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (inherited from ModelComponentCollection) |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (inherited from ModelComponentCollection) |
顶部
Protected Properties
名称 | Description | |
---|---|---|
![]() |
DemandLoadingService | (inherited from ModelComponentCollection ) |
![]() |
ItemsType | Gets the Type of objects that can be contained by the ModelComponentCollection. (inherited from ModelComponentCollection) |
![]() |
Preloadable | Gets a value indicating whether the ModelComponentCollection can be preloaded. (inherited from ModelComponentCollection) |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
![]() |
Add | Overloaded. Creates and adds a DataSource to the collection. |
![]() |
AddNew | Overloaded. Creates and adds a DataSource to the end of the collection. |
![]() |
CanAdd | (inherited from NamedComponentCollection ) |
![]() |
Clear | Removes all elements from the ModelComponentCollection. (inherited from ModelComponentCollection) |
![]() |
Contains | Overloaded. Indicates whether the collection contains a DataSource. |
![]() |
ContainsName | (inherited from NamedComponentCollection ) |
![]() |
CopyTo | (inherited from ModelComponentCollection ) |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
Find | Gets the DataSource, with the specified identifier, from the collection. |
![]() |
FindByName | Gets the DataSource, with the specified name, from the collection. |
![]() |
GetByName | Gets the DataSource, with the specified name, from the collection. |
![]() |
GetEnumerator | Returns an enumerator that can iterate through the ModelComponentCollection. (inherited from ModelComponentCollection) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetNewID | Overloaded. (inherited from NamedComponentCollection ) |
![]() |
GetNewName | Overloaded. (inherited from NamedComponentCollection ) |
![]() |
GetType | (inherited from Object ) |
![]() |
IndexOf | Overloaded. Gets the index of a DataSource. |
![]() |
IndexOfName | (inherited from NamedComponentCollection ) |
![]() |
Insert | Overloaded. Inserts a DataSource into the collection. |
![]() |
IsValidID | Overloaded. (inherited from NamedComponentCollection ) |
![]() |
IsValidName | Overloaded. (inherited from NamedComponentCollection ) |
![]() |
Move | Overloaded. Moves a DataSource to a new index in the collection. |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Remove | Overloaded. Removes a DataSource from the collection. |
![]() |
RemoveAt | Overloaded. (inherited from ModelComponentCollection ) |
![]() |
ToString | (inherited from Object ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
![]() |
Add | Overloaded. (inherited from MajorObjectCollection ) |
![]() |
AddNew | Overloaded. (inherited from ModelComponentCollection ) |
![]() |
ChangeKey | (inherited from ModelComponentCollection ) |
![]() |
Contains | Overloaded. (inherited from ModelComponentCollection ) |
![]() |
EnsureLoaded | (inherited from ModelComponentCollection ) |
![]() |
Finalize | (inherited from Object ) |
![]() |
GetItem | (inherited from ModelComponentCollection ) |
![]() |
IndexOf | Overloaded. (inherited from ModelComponentCollection ) |
![]() |
Insert | Overloaded. (inherited from MajorObjectCollection ) |
![]() |
IsValidID | Overloaded. (inherited from NamedComponentCollection ) |
![]() |
IsValidName | Overloaded. (inherited from NamedComponentCollection ) |
![]() |
MemberwiseClone | (inherited from Object ) |
![]() |
Remove | Overloaded. (inherited from ModelComponentCollection ) |
顶部
Public Events
名称 | Description | |
---|---|---|
![]() |
CollectionChanged | (inherited from ModelComponentCollection ) |
![]() |
CollectionChanging | (inherited from ModelComponentCollection ) |
顶部
Explicit Interface Implementations
顶部
请参阅
参考
DataSourceCollection Class
Microsoft.AnalysisServices Namespace