Condividi tramite


Classe AdomdParameterCollection

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class AdomdParameterCollection _
    Inherits MarshalByRefObject _
    Implements IDataParameterCollection, IList, ICollection, IEnumerable
'Utilizzo
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

Nel tipo AdomdParameterCollection sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Proprietà pubblica 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.
Proprietà pubblica 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.

In alto

Metodi

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

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.