共用方式為


HierarchyCollection Members

Contains a collection of Hierarchy objects. This class cannot be inherited.

The following tables list the members exposed by the HierarchyCollection type.

Public Properties

(see also Protected Properties )

  名稱 Description
ms164987.pubproperty(zh-tw,SQL.90).gif Count  Gets the number of ModelComponent objects in the ModelComponentCollection. (inherited from ModelComponentCollection)
ms164987.pubproperty(zh-tw,SQL.90).gif IsFixedSize  Gets a value indicating whether the ModelComponentCollection has a fixed size. (inherited from ModelComponentCollection)
ms164987.pubproperty(zh-tw,SQL.90).gif IsReadOnly  Gets a value indicating whether the ModelComponentCollection is read-only. (inherited from ModelComponentCollection)
ms164987.pubproperty(zh-tw,SQL.90).gif IsSynchronized  Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (inherited from ModelComponentCollection)
ms164987.pubproperty(zh-tw,SQL.90).gif Item Overloaded. Gets the specified Hierarchy from the collection.
ms164987.pubproperty(zh-tw,SQL.90).gif Parent  Gets the IModelComponent that contains the ModelComponentCollection. (inherited from ModelComponentCollection)
ms164987.pubproperty(zh-tw,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the ModelComponentCollection. (inherited from ModelComponentCollection)

頂端

Protected Properties

  名稱 Description
ms164987.protproperty(zh-tw,SQL.90).gif DemandLoadingService  (inherited from ModelComponentCollection )
ms164987.protproperty(zh-tw,SQL.90).gif ItemsType  Gets the Type of objects that can be contained by the ModelComponentCollection. (inherited from ModelComponentCollection)
ms164987.protproperty(zh-tw,SQL.90).gif Preloadable  Gets a value indicating whether the ModelComponentCollection can be preloaded. (inherited from ModelComponentCollection)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms164987.pubmethod(zh-tw,SQL.90).gif Add Overloaded. Creates and adds a Hierarchy to the collection.
ms164987.pubmethod(zh-tw,SQL.90).gif CanAdd  (inherited from NamedComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif Clear  Removes all elements from the ModelComponentCollection. (inherited from ModelComponentCollection)
ms164987.pubmethod(zh-tw,SQL.90).gif Contains Overloaded. Indicates whether the collection contains a Hierarchy.
ms164987.pubmethod(zh-tw,SQL.90).gif ContainsName  (inherited from NamedComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif CopyTo  (inherited from ModelComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms164987.pubmethod(zh-tw,SQL.90).gif Find Gets the Hierarchy, with the specified identifier, from the collection.
ms164987.pubmethod(zh-tw,SQL.90).gif FindByName Gets the Hierarchy, with the specified name, from the collection.
ms164987.pubmethod(zh-tw,SQL.90).gif GetByName Gets the Hierarchy, with the specified name, from the collection.
ms164987.pubmethod(zh-tw,SQL.90).gif GetEnumerator  Returns an enumerator that can iterate through the ModelComponentCollection. (inherited from ModelComponentCollection)
ms164987.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms164987.pubmethod(zh-tw,SQL.90).gif GetNewID  Overloaded. (inherited from NamedComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif GetNewName  Overloaded. (inherited from NamedComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms164987.pubmethod(zh-tw,SQL.90).gif IndexOf Overloaded. Gets the index of a Hierarchy.
ms164987.pubmethod(zh-tw,SQL.90).gif IndexOfName  (inherited from NamedComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif Insert Overloaded. Inserts a Hierarchy into the collection.
ms164987.pubmethod(zh-tw,SQL.90).gif IsValidID Overloaded.  
ms164987.pubmethod(zh-tw,SQL.90).gif IsValidName Overloaded.  
ms164987.pubmethod(zh-tw,SQL.90).gif Move Overloaded. Moves a Hierarchy to a new index in the collection.
ms164987.pubmethod(zh-tw,SQL.90).gifms164987.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms164987.pubmethod(zh-tw,SQL.90).gif Remove Overloaded. Removes a Hierarchy from the collection.
ms164987.pubmethod(zh-tw,SQL.90).gif RemoveAt  Overloaded. (inherited from ModelComponentCollection )
ms164987.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms164987.protmethod(zh-tw,SQL.90).gif Add  Overloaded. (inherited from NamedComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif AddNew  Overloaded. (inherited from ModelComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif ChangeKey  (inherited from ModelComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif Contains  Overloaded. (inherited from ModelComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif EnsureLoaded  (inherited from ModelComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms164987.protmethod(zh-tw,SQL.90).gif GetItem  (inherited from ModelComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif IndexOf  Overloaded. (inherited from ModelComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif Insert  Overloaded. (inherited from NamedComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif IsValidID  Overloaded. (inherited from NamedComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif IsValidName  Overloaded. (inherited from NamedComponentCollection )
ms164987.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )
ms164987.protmethod(zh-tw,SQL.90).gif Remove  Overloaded. (inherited from ModelComponentCollection )

頂端

Public Events

  名稱 Description
ms164987.pubevent(zh-tw,SQL.90).gif CollectionChanged  (inherited from ModelComponentCollection )
ms164987.pubevent(zh-tw,SQL.90).gif CollectionChanging  (inherited from ModelComponentCollection )

頂端

Explicit Interface Implementations

  名稱 Description
Microsoft.AnalysisServices.Hosting.IOnDemandLoadableCollection.BlockOnDemandLoad  (inherited from ModelComponentCollection )
Microsoft.AnalysisServices.IModelComponentCollection.Contains  (inherited from ModelComponentCollection )
Microsoft.AnalysisServices.IModelComponentCollection.Remove  Overloaded. (inherited from ModelComponentCollection )
System.Collections.IList.Add  (inherited from ModelComponentCollection )
System.Collections.IList.Clear  (inherited from ModelComponentCollection )
System.Collections.IList.Contains  (inherited from ModelComponentCollection )
System.Collections.IList.IndexOf  (inherited from ModelComponentCollection )
System.Collections.IList.Insert  (inherited from ModelComponentCollection )
System.Collections.IList.Remove  (inherited from ModelComponentCollection )
System.Collections.IList.RemoveAt  (inherited from ModelComponentCollection )
Microsoft.AnalysisServices.Hosting.IOnDemandLoadableCollection.Loaded  (inherited from ModelComponentCollection )
System.Collections.IList.Item  (inherited from ModelComponentCollection )

頂端

請參閱

參考

HierarchyCollection Class
Microsoft.AnalysisServices Namespace