RoleCollection 클래스
Contains a collection of Role objects. This class cannot be inherited.
상속 계층
System.Object
Microsoft.AnalysisServices.ModelComponentCollection
Microsoft.AnalysisServices.NamedComponentCollection
Microsoft.AnalysisServices.MajorObjectCollection
Microsoft.AnalysisServices.RoleCollection
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
<GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F")> _
Public NotInheritable Class RoleCollection _
Inherits MajorObjectCollection
‘사용 방법
Dim instance As RoleCollection
[GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F")]
public sealed class RoleCollection : MajorObjectCollection
[GuidAttribute(L"E68E368A-5BBB-4b37-922A-03F099FEAA3F")]
public ref class RoleCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F")>]
type RoleCollection =
class
inherit MajorObjectCollection
end
public final class RoleCollection extends MajorObjectCollection
RoleCollection 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (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 Role at the specified index from the collection. | |
Item[String] | Gets the Role that has the specified identifier from the collection. | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (ModelComponentCollection에서 상속됨) |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Add() | Creates and adds a Role to the end of the collection. | |
Add(String) | Creates and adds a Role, with the specified identifier, to the end of the collection. | |
Add(ModelComponent) | Adds a ModelComponent to the end of the MajorObjectCollection. (MajorObjectCollection에서 상속됨) | |
Add(Role) | Adds a Role to the end of the collection. | |
Add(String, String) | Creates and adds a Role, with the specified name and identifier, to the end of the collection. | |
Add(ModelComponent, Boolean) | 인프라입니다. Adds a ModelComponent object to the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
CanAdd | 인프라입니다. Indicates whether the collection can add a ModelComponent. (NamedComponentCollection에서 상속됨) | |
ChangeKey | 인프라입니다. Changes the specified keys to the collection. (ModelComponentCollection에서 상속됨) | |
Clear | Removes all elements from the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
Contains(String) | Indicates whether the collection contains a Role, that has the specified identifier. | |
Contains(Role) | Indicates whether the collection contains a specified Role. | |
ContainsName | Indicates whether the component contains its name. (NamedComponentCollection에서 상속됨) | |
CopyTo | Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (ModelComponentCollection에서 상속됨) | |
Equals | (Object에서 상속됨) | |
Find | Gets the Role that has the specified identifier from the collection. | |
FindByName | Gets the Role that has the specified name from the collection. | |
GetByName | Gets the Role that has the specified name from the collection. | |
GetEnumerator | Returns an enumerator that can iterate through the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
GetHashCode | (Object에서 상속됨) | |
GetNewID() | Gets a new unique ID for the component. (NamedComponentCollection에서 상속됨) | |
GetNewID(String) | Gets the value for the new unique ID. (NamedComponentCollection에서 상속됨) | |
GetNewName() | Gets a unique new name for the component. (NamedComponentCollection에서 상속됨) | |
GetNewName(String) | Gets a unique new name for the component with the specified name prefix. (NamedComponentCollection에서 상속됨) | |
GetType | (Object에서 상속됨) | |
IndexOf(String) | Gets the index of a Role that has the specified identifier. | |
IndexOf(Role) | Gets the index of a specified Role. | |
IndexOfName | Gets the index of the NamedComponent, identified by name, in the collection. (NamedComponentCollection에서 상속됨) | |
Insert(Int32) | Creates and inserts a Role into the collection at the specified index. | |
Insert(Int32, ModelComponent) | Inserts a ModelComponent in the MajorObjectCollection at the specified index. (MajorObjectCollection에서 상속됨) | |
Insert(Int32, Role) | Inserts a Role into the collection at the specified index. | |
Insert(Int32, String) | Creates and inserts a Role, with the specified identifier, into the collection at the specified index. | |
Insert(Int32, String, String) | Creates and inserts a Role, with the specified name and identifier, into the collection at the specified index. | |
IsValidID(String) | Determines whether the named component collection identifier is valid. (NamedComponentCollection에서 상속됨) | |
IsValidID(String, String%) | Determines whether the named component collection identifier is valid. (NamedComponentCollection에서 상속됨) | |
IsValidName(String) | Determines whether the named component collection name is valid. (NamedComponentCollection에서 상속됨) | |
IsValidName(String, String%) | Determines whether the named component collection name is valid. (NamedComponentCollection에서 상속됨) | |
IsValidName(String, Type, ModelType, Int32, String%) | (NamedComponentCollection에서 상속됨) | |
Move(Int32, Int32) | Moves a Role at the current specified index to a new specified index in the collection. | |
Move(String, Int32) | Moves a Role that has the specified identifier to the specified index in the collection. | |
Move(Role, Int32) | Moves a Role to a new index in the collection. | |
Remove(String) | Removes the Role that has the specified identifier from the collection. | |
Remove(IModelComponent) | Removes the specified IModelComponent from the collection. (ModelComponentCollection에서 상속됨) | |
Remove(Role) | Removes the specified Role from the collection. | |
Remove(String, Boolean) | 인프라입니다. Removes the Role that has the specified identifier from the collection. | |
Remove(Role, Boolean) | 인프라입니다. Removes the specified Role from the collection. | |
RemoveAt(Int32) | Removes the IModelComponent at the specified index from the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
RemoveAt(Int32, Boolean) | 인프라입니다. Removes the IModelComponent at the specified index from the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
ToString | (Object에서 상속됨) |
맨 위로 이동
이벤트
이름 | 설명 | |
---|---|---|
CollectionChanged | 인프라입니다. Occurs when the collection changes. (ModelComponentCollection에서 상속됨) | |
CollectionChanging | 인프라입니다. Occurs when the collection is changing. (ModelComponentCollection에서 상속됨) |
맨 위로 이동
명시적 인터페이스 구현
이름 | 설명 | |
---|---|---|
IList.Add | Adds an item to the collection. (ModelComponentCollection에서 상속됨) | |
IList.Clear | Removes all items from the collection. (ModelComponentCollection에서 상속됨) | |
IList.Contains | Indicates whether the collection contains a specific value. (ModelComponentCollection에서 상속됨) | |
IList.IndexOf | Determines the index of a specific item in the collection. (ModelComponentCollection에서 상속됨) | |
IList.Insert | Inserts an item to the collection at the specified index. (ModelComponentCollection에서 상속됨) | |
IList.Item | Gets or sets the element at the specified index. (ModelComponentCollection에서 상속됨) | |
IList.Remove | Removes the first occurrence of a specified object from the collection. (ModelComponentCollection에서 상속됨) | |
IList.RemoveAt | Removes the item at the specified index. (ModelComponentCollection에서 상속됨) | |
IModelComponentCollection.Contains | Indicates whether the collection contains a specific value. (ModelComponentCollection에서 상속됨) | |
IModelComponentCollection.Remove(IModelComponent) | Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
IModelComponentCollection.Remove(IModelComponent, Boolean) | Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (ModelComponentCollection에서 상속됨) | |
IOnDemandLoadableCollection.BlockOnDemandLoad | Specifies the blocked demand load. (ModelComponentCollection에서 상속됨) | |
IOnDemandLoadableCollection.Loaded | Gets or sets a value that indicates whether the collection is loaded. (ModelComponentCollection에서 상속됨) |
맨 위로 이동
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.