Freigeben über


AdomdPropertyCollection-Klasse

Represents a collection of AdomdProperty objects contained in an AdomdCommand.

Vererbungshierarchie

System.Object
  System.MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdPropertyCollection

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public NotInheritable Class AdomdPropertyCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Usage
Dim instance As AdomdPropertyCollection
public sealed class AdomdPropertyCollection : MarshalByRefObject, 
    IList, ICollection, IEnumerable
public ref class AdomdPropertyCollection sealed : public MarshalByRefObject, 
    IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdPropertyCollection =  
    class 
        inherit MarshalByRefObject 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class AdomdPropertyCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable

Der AdomdPropertyCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of AdomdProperty objects in the AdomdPropertyCollection.
Öffentliche Eigenschaft IsFixedSize Gets a value indicating whether the AdomdPropertyCollection has a fixed size.
Öffentliche Eigenschaft IsReadOnly Gets a value indicating whether the AdomdPropertyCollection is read-only.
Öffentliche Eigenschaft IsSynchronized Gets a value indicating whether access to the AdomdPropertyCollection is synchronized (thread safe).
Öffentliche Eigenschaft Item Gets or sets the specified AdomdProperty from the AdomdPropertyCollection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdPropertyCollection class.
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the AdomdPropertyCollection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add(AdomdProperty) Adds an AdomdProperty to the AdomdPropertyCollection.
Öffentliche Methode Add(String, Object) Creates a new AdomdProperty with the specified property name and value.
Öffentliche Methode Add(String, String, Object) Creates a new AdomdProperty with the specified property name, namespace, and value.
Öffentliche Methode Clear Removes all properties from the AdomdPropertyCollection.
Öffentliche Methode Contains Determines whether a property is in the AdomdPropertyCollection.
Öffentliche Methode CopyTo Copies the elements of the AdomdPropertyCollection to the specified array.
Öffentliche Methode CreateObjRef Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Find(String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name.
Öffentliche Methode Find(String, String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.
Öffentliche Methode GetEnumerator Returns an enumerator that iterates through the AdomdPropertyCollection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLifetimeService Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IndexOf Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.
Öffentliche Methode InitializeLifetimeService Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode Insert Inserts a property into the AdomdPropertyCollection at the specified index.
Öffentliche Methode Remove Removes the first occurrence of a specified property from the AdomdPropertyCollection.
Öffentliche Methode RemoveAt Removes the property at the specified index of the AdomdPropertyCollection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IList.Add Adds an item to the AdomdPropertyCollection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Contains Determines whether the AdomdPropertyCollection contains the specified element.
Explizite SchnittstellenimplementierungPrivate Methode ICollection.CopyTo Copies the entire AdomdPropertyCollection to a compatible one dimensional array, starting at the specified index of the target array.
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explizite SchnittstellenimplementierungPrivate Methode IList.IndexOf Determines the index of the specified item in the AdomdPropertyCollection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Insert Inserts an element into the AdomdPropertyCollection at the specified index.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IList.Item Gets or sets the element at the specified index.
Explizite SchnittstellenimplementierungPrivate Methode IList.Remove Removes the first occurrence of a specific object from the AdomdPropertyCollection.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices.AdomdClient-Namespace