Compartir a través de


Clase AdomdParameterCollection

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
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

El tipo AdomdParameterCollection expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Propiedad 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.
Propiedad 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.

Arriba

Métodos

  Nombre Descripción
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 (Se hereda de MarshalByRefObject.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público Find Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService (Se hereda de MarshalByRefObject.)
Método público GetType (Se hereda 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 (Se hereda de MarshalByRefObject.)
Método público Insert Inserts a parameter into the AdomdParameterCollection collection at the specified index.
Método protegido MemberwiseClone() () () () (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda 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 (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.