Класс AdomdParameterCollection

This class gets a collection of AdomdParameter objects contained in a AdomdCommand object.

Иерархия наследования

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

Пространство имен:  Microsoft.AnalysisServices.AdomdServer
Сборка:  msmgdsrv (в msmgdsrv.dll)

Синтаксис

'Декларация
Public NotInheritable Class AdomdParameterCollection _
    Inherits MarshalByRefObject _
    Implements IDataParameterCollection
'Применение
Dim instance As AdomdParameterCollection
public sealed class AdomdParameterCollection : MarshalByRefObject, 
    IDataParameterCollection
public ref class AdomdParameterCollection sealed : public MarshalByRefObject, 
    IDataParameterCollection
[<SealedAttribute>]
type AdomdParameterCollection =  
    class
        inherit MarshalByRefObject
        interface IDataParameterCollection
    end
public final class AdomdParameterCollection extends MarshalByRefObject implements IDataParameterCollection

Тип AdomdParameterCollection обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Открытое свойство 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.
Открытое свойство 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.

В начало

Методы

  Имя Описание
Открытый метод Add(AdomdParameter) Adds a AdomdParameter object to the AdomdParameterCollection collection.
Открытый метод Add(String, Object) Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection.
Открытый метод Clear Removes all parameters from the AdomdParameterCollection object.
Открытый метод Contains(String) Given a property name, this method determines whether a parameter is in the AdomdParameterCollection collection.
Открытый метод Contains(AdomdParameter) Determines whether a parameter is in the AdomdParameterCollection collection.
Открытый метод CopyTo Copies the elements of the AdomdParameterCollection collection to the specified array.
Открытый метод CreateObjRef (Производный от MarshalByRefObject.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод Find Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Защищенный метод GetEnumerator
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetLifetimeService (Производный от MarshalByRefObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод IndexOf(String) Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Открытый метод IndexOf(AdomdParameter) Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Открытый метод InitializeLifetimeService (Производный от MarshalByRefObject.)
Открытый метод Insert Inserts a parameter into the AdomdParameterCollection collection at the specified index.
Защищенный метод MemberwiseClone() () () () (Производный от Object.)
Защищенный метод MemberwiseClone(Boolean) (Производный от MarshalByRefObject.)
Открытый метод Remove Removes the first occurrence of a specific parameter from the AdomdParameterCollection object.
Открытый метод RemoveAt(Int32) Removes the parameter at the specified index of the AdomdParameterCollection object.
Открытый метод RemoveAt(String) Removes the parameter specified by name in the AdomdParameterCollection object.
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Add
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Contains
Явная реализация интерфейсаЗакрытый метод ICollection. . :: . .CopyTo
Явная реализация интерфейсаЗакрытый метод IList. . :: . .IndexOf
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Insert
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Remove

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.