Dela via


MiningModelCollection Class

Represents a read-only, on-demand collection of MiningModel objects that are contained by a MiningStructure or AdomdConnection object.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.MiningModelCollection

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public NotInheritable Class MiningModelCollection _
    Implements IDisposable, IEnumerable, ICollection
'Usage
Dim instance As MiningModelCollection
public sealed class MiningModelCollection : IDisposable, 
    IEnumerable, ICollection
public ref class MiningModelCollection sealed : IDisposable, 
    IEnumerable, ICollection
[<SealedAttribute>]
type MiningModelCollection =  
    class
        interface IDisposable
        interface IEnumerable
        interface ICollection
    end
public final class MiningModelCollection implements IDisposable, IEnumerable, ICollection

The MiningModelCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of MiningModel objects in the collection.
Public property IsSynchronized Gets a value that indicates whether access to the collection is synchronized (thread safe).
Public property Item[Int32] Gets the specified MiningModel from the collection by using the model's index. In Microsoft Visual C#, this property is the indexer for the MiningModelCollection class.
Public property Item[String] Gets the specified MiningModel from the collection by using the model's name. In Microsoft Visual C#, this property is the indexer for the MiningModelCollection class.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the MiningModelCollection.
Protected method CopyTo(Array, Int32)
Public method CopyTo(array<MiningModel[], Int32) Copies the elements of the collection to the specified array.
Public method Dispose Releases all resources used by the MiningModelCollection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Find Returns the specified MiningModel from the collection by the model's name.
Public method GetEnumerator() Returns an enumerator for iterating through the collection.
Public method GetEnumerator() Returns an enumerator for iterating through a collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Refreshes the collection of mining models.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.