Compartilhar via


Classe AdomdParameterCollection

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class AdomdParameterCollection _
    Inherits MarshalByRefObject _
    Implements IDataParameterCollection, IList, ICollection, IEnumerable
'Uso
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

O tipo AdomdParameterCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Propriedade pública 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.
Propriedade pública 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ício

Métodos

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

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.