Класс AdomdParameterCollection
Gets a collection of AdomdParameter objects contained in an AdomdCommand object.
Иерархия наследования
System.Object
System.MarshalByRefObject
Microsoft.AnalysisServices.AdomdClient.AdomdParameterCollection
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)
Синтаксис
'Декларация
Public NotInheritable Class AdomdParameterCollection _
Inherits MarshalByRefObject _
Implements IDataParameterCollection, IList, ICollection, IEnumerable
'Применение
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
Тип AdomdParameterCollection обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of AdomdParameter objects in the AdomdParameterCollection collection. | |
Item[Int32] | Gets or sets the AdomdParameter object at the specified index, in the AdomdParameterCollection. | |
Item[String] | Gets or sets the AdomdParameter object in the AdomdParameterCollection with the specified name. |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(AdomdParameter) | Adds an 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.) | |
Find | Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. | |
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. | |
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 | Adds an item to the collection. | |
IList.Contains | Determines whether the collection contains the specified value. | |
ICollection.CopyTo | Copies the elements of the collection to an array, starting at a particular array index. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. | |
IList.IndexOf | Determines the index of the specified item in the collection. | |
IList.Insert | Inserts an item to the collection at the specified index. | |
IList.IsFixedSize | Gets a value indicating whether the collection has a fixed size. Always returns false. | |
IList.IsReadOnly | Gets a value indicating whether the collection is read-only. Always returns false. | |
ICollection.IsSynchronized | Gets a value indicating whether access to the AdomdParameterCollection is synchronized (thread safe). Always returns false. | |
IList.Item | Gets or sets the AdomdParameter object at the specified index, in the AdomdParameterCollection. | |
IDataParameterCollection.Item | Gets or sets the parameter with the specified name. | |
IList.Remove | Removes the first occurrence of a specified object from the collection. | |
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the collection. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.