Класс AdomdRestrictionCollection
Gets a collection of AdomdRestriction objects.
Иерархия наследования
System.Object
System.MarshalByRefObject
Microsoft.AnalysisServices.AdomdClient.AdomdRestrictionCollection
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)
Синтаксис
'Декларация
Public NotInheritable Class AdomdRestrictionCollection _
Inherits MarshalByRefObject _
Implements IList, ICollection, IEnumerable
'Применение
Dim instance As AdomdRestrictionCollection
public sealed class AdomdRestrictionCollection : MarshalByRefObject,
IList, ICollection, IEnumerable
public ref class AdomdRestrictionCollection sealed : public MarshalByRefObject,
IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdRestrictionCollection =
class
inherit MarshalByRefObject
interface IList
interface ICollection
interface IEnumerable
end
public final class AdomdRestrictionCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable
Тип AdomdRestrictionCollection обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
AdomdRestrictionCollection | Initializes a new instance of the AdomdRestrictionCollection class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of AdomdRestriction objects in the collection. | |
IsFixedSize | Gets a value indicating whether the AdomdRestrictionCollection has a fixed size. | |
IsReadOnly | Gets a value indicating whether the AdomdRestrictionCollection is read-only. | |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). | |
Item | Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(AdomdRestriction) | Adds an AdomdRestriction to the collection. | |
Add(String, Object) | Creates a new AdomdRestriction with the specified property name and value. | |
Add(String, String, Object) | Creates a new AdomdRestriction with the specified property name, namespace, and value. | |
Clear | Removes all restrictions from the AdomdRestrictionCollection. | |
Contains | Determines whether a AdomdRestriction is in the AdomdRestrictionCollection. | |
CopyTo | Copies the elements of the AdomdRestrictionCollection collection to the specified array. | |
CreateObjRef | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
Equals | (Производный от Object.) | |
Find(String) | Gets the specified AdomdRestriction from the collection by its name. | |
Find(String, String) | Gets the specified AdomdRestriction from the collection by its name and namespace. | |
GetEnumerator | Returns an enumerator that iterates through the AdomdRestrictionCollection. | |
GetHashCode | (Производный от Object.) | |
GetLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
GetType | (Производный от Object.) | |
IndexOf | Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection. | |
InitializeLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
Insert | Inserts a restriction into the AdomdRestrictionCollection collection at the specified index. | |
Remove | Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection. | |
RemoveAt | Removes the restriction at the specified index of the AdomdRestrictionCollection collection. | |
ToString | (Производный от Object.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
IList.Add | Adds an item to the AdomdRestrictionCollection. | |
IList.Contains | Determines whether the AdomdRestrictionCollection contains the specified value. | |
ICollection.CopyTo | Copies the elements of the AdomdRestrictionCollection to an array, starting at a particular index. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through the AdomdRestrictionCollection. | |
IList.IndexOf | Determines the index of the specified item in the AdomdRestrictionCollection. | |
IList.Insert | Insert an item to the AdomdRestrictionCollection at the specified index. | |
IList.Item | Gets or sets the element at the specified index. | |
IList.Remove | Removes the first occurrence of the specified object from the AdomdRestrictionCollection. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.