AdomdParameterCollection-Klasse

Gets a collection of AdomdParameter objects contained in an AdomdCommand object.

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient..::..AdomdParameterCollection

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

Syntax

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

Der AdomdParameterCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Öffentliche Eigenschaft Item[ ( [ ( Int32] ) ] ) Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class.
Öffentliche Eigenschaft Item[ ( [ ( String] ) ] ) Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add(AdomdParameter) Adds an AdomdParameter object to the AdomdParameterCollection collection.
Öffentliche Methode Add(String, Object) Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection.
Öffentliche Methode Clear Removes all parameters from the AdomdParameterCollection object.
Öffentliche Methode Contains(String) Given a property name, this method determines whether a parameter is in the AdomdParameterCollection collection.
Öffentliche Methode Contains(AdomdParameter) Determines whether a parameter is in the AdomdParameterCollection collection.
Öffentliche Methode CopyTo Copies the elements of the AdomdParameterCollection collection to the specified array.
Öffentliche Methode CreateObjRef (Geerbt von MarshalByRefObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode Find Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLifetimeService (Geerbt von MarshalByRefObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IndexOf(String) Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Öffentliche Methode IndexOf(AdomdParameter) Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Öffentliche Methode InitializeLifetimeService (Geerbt von MarshalByRefObject.)
Öffentliche Methode Insert Inserts a parameter into the AdomdParameterCollection collection at the specified index.
Geschützte Methode MemberwiseClone() () () () (Geerbt von Object.)
Geschützte Methode MemberwiseClone(Boolean) (Geerbt von MarshalByRefObject.)
Öffentliche Methode Remove Removes the first occurrence of a specific parameter from the AdomdParameterCollection object.
Öffentliche Methode RemoveAt(Int32) Removes the parameter at the specified index of the AdomdParameterCollection object.
Öffentliche Methode RemoveAt(String) Removes the parameter specified by name in the AdomdParameterCollection object.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

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