Класс DataSourcePermissionCollection
Contains a collection of DataSourcePermission objects. This class cannot be inherited.
Иерархия наследования
System. . :: . .Object
Microsoft.AnalysisServices. . :: . .ModelComponentCollection
Microsoft.AnalysisServices. . :: . .NamedComponentCollection
Microsoft.AnalysisServices. . :: . .MajorObjectCollection
Microsoft.AnalysisServices..::..DataSourcePermissionCollection
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("D8B434FD-107D-4326-AD28-6538C6A2313D")> _
Public NotInheritable Class DataSourcePermissionCollection _
Inherits MajorObjectCollection
'Применение
Dim instance As DataSourcePermissionCollection
[GuidAttribute("D8B434FD-107D-4326-AD28-6538C6A2313D")]
public sealed class DataSourcePermissionCollection : MajorObjectCollection
[GuidAttribute(L"D8B434FD-107D-4326-AD28-6538C6A2313D")]
public ref class DataSourcePermissionCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("D8B434FD-107D-4326-AD28-6538C6A2313D")>]
type DataSourcePermissionCollection =
class
inherit MajorObjectCollection
end
public final class DataSourcePermissionCollection extends MajorObjectCollection
Тип DataSourcePermissionCollection обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
DemandLoadingService | Инфраструктура. (Производный от ModelComponentCollection.) | |
IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size. (Производный от ModelComponentCollection.) | |
IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only. (Производный от ModelComponentCollection.) | |
IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Производный от ModelComponentCollection.) | |
Item[ ( [ ( Int32] ) ] ) | Gets the DataSourcePermission at the specified index from the collection. | |
Item[ ( [ ( String] ) ] ) | Gets the DataSourcePermission with the specified identifier from the collection. | |
ItemsType | Gets the Type of objects that can be contained by the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Preloadable | Инфраструктура. (Производный от ModelComponentCollection.) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (Производный от ModelComponentCollection.) |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(String) | Creates and adds a DataSourcePermission, with the specified role identifier, to the end of the collection. | |
Add(DataSourcePermission) | Adds a DataSourcePermission to the end of the collection. | |
Add(ModelComponent) | Adds a ModelComponent to the end of the MajorObjectCollection. (Производный от MajorObjectCollection.) | |
Add(String, String) | Creates and adds a DataSourcePermission, with the specified name and role identifier, to the end of the collection. | |
Add(String, IModelComponent) | (Производный от ModelComponentCollection.) | |
Add(ModelComponent, Boolean) | Инфраструктура. (Производный от ModelComponentCollection.) | |
Add(String, String, String) | Creates and adds a DataSourcePermission, with the specified role identifier, name, and identifier, to the end of the collection. | |
Add(String, IModelComponent, Boolean) | (Производный от ModelComponentCollection.) | |
AddNew(String, Type) | Инфраструктура. (Производный от ModelComponentCollection.) | |
AddNew(String, String, Type) | Инфраструктура. (Производный от ModelComponentCollection.) | |
CanAdd | Инфраструктура. (Производный от NamedComponentCollection.) | |
ChangeKey | Инфраструктура. (Производный от ModelComponentCollection.) | |
Clear | Removes all elements from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Contains(String) | Indicates whether the collection contains a DataSourcePermission with the specified identifier. | |
Contains(DataSourcePermission) | Indicates whether the collection contains a specified DataSourcePermission. | |
Contains(IModelComponent) | (Производный от ModelComponentCollection.) | |
ContainsName | (Производный от NamedComponentCollection.) | |
CopyTo | Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Производный от ModelComponentCollection.) | |
EnsureLoaded | Инфраструктура. (Производный от ModelComponentCollection.) | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Object.) | |
Find | Gets the DataSourcePermission with the specified identifier from the collection. | |
FindByName | Gets the DataSourcePermission, with the specified name, from the collection. | |
FindByRole | Gets the DataSourcePermission, with the specified role identifier, from the collection. | |
GetByName | Gets the DataSourcePermission, with the specified name, from the collection. | |
GetByRole | Gets the DataSourcePermission, with the specified role identifier, from the collection. | |
GetEnumerator | Returns an enumerator that can iterate through the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
GetHashCode | (Производный от Object.) | |
GetItem | Gets a reference to the specified component. (Производный от ModelComponentCollection.) | |
GetNewID() () () () | (Производный от NamedComponentCollection.) | |
GetNewID(String) | (Производный от NamedComponentCollection.) | |
GetNewName() () () () | (Производный от NamedComponentCollection.) | |
GetNewName(String) | (Производный от NamedComponentCollection.) | |
GetType | (Производный от Object.) | |
IndexOf(String) | Gets the index of a DataSourcePermission with the specified identifier. | |
IndexOf(DataSourcePermission) | Gets the index of a specified DataSourcePermission. | |
IndexOf(IModelComponent) | (Производный от ModelComponentCollection.) | |
IndexOfName | (Производный от NamedComponentCollection.) | |
Insert(Int32, DataSourcePermission) | Inserts a DataSourcePermission into the collection at the specified index. | |
Insert(Int32, String) | Creates and inserts a DataSourcePermission, with the specified role identifier, into the collection at the specified index. | |
Insert(Int32, ModelComponent) | Inserts a ModelComponent in the MajorObjectCollection at the specified index. (Производный от MajorObjectCollection.) | |
Insert(Int32, String, String) | Creates and inserts a DataSourcePermission, with the specified name and role identifier, into the collection at the specified index. | |
Insert(IModelComponent, String, Int32) | (Производный от ModelComponentCollection.) | |
Insert(Int32, String, String, String) | Creates and inserts a DataSourcePermission, with the specified role identifier, name, and identifier, into the collection at the specified index. | |
Insert(IModelComponent, String, Int32, Boolean) | (Производный от ModelComponentCollection.) | |
IsValidID(String) | (Производный от NamedComponentCollection.) | |
IsValidID(String, String%) | (Производный от NamedComponentCollection.) | |
IsValidID(String, Type, String%) | (Производный от NamedComponentCollection.) | |
IsValidName(String) | (Производный от NamedComponentCollection.) | |
IsValidName(String, String%) | (Производный от NamedComponentCollection.) | |
IsValidName(String, Type, String%) | (Производный от NamedComponentCollection.) | |
MemberwiseClone | (Производный от Object.) | |
Move(Int32, Int32) | Moves a DataSourcePermission at the current specified index to a new specified index in the collection. | |
Move(String, Int32) | Moves a DataSourcePermission, with the specified identifier, to the specified index in the collection. | |
Move(DataSourcePermission, Int32) | Moves a DataSourcePermission to a new index in the collection. | |
Remove(String) | Removes the DataSourcePermission, with the specified identifier, from the collection. | |
Remove(DataSourcePermission) | Removes the specified DataSourcePermission from the collection. | |
Remove(IModelComponent) | (Производный от ModelComponentCollection.) | |
Remove(String, Boolean) | Инфраструктура. | |
Remove(DataSourcePermission, Boolean) | Инфраструктура. | |
RemoveAt(Int32) | Removes the IModelComponent at the specified index from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
RemoveAt(Int32, Boolean) | Инфраструктура. (Производный от ModelComponentCollection.) | |
ToString | (Производный от Object.) |
В начало
События
Имя | Описание | |
---|---|---|
CollectionChanged | Инфраструктура. (Производный от ModelComponentCollection.) | |
CollectionChanging | Инфраструктура. (Производный от ModelComponentCollection.) |
В начало
Явные реализации интерфейса
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.