RelationshipCollection 类

定义

表示 Relationship 对象的集合。

public sealed class RelationshipCollection : Microsoft.AnalysisServices.ModelComponentCollection
type RelationshipCollection = class
    inherit ModelComponentCollection
Public NotInheritable Class RelationshipCollection
Inherits ModelComponentCollection
继承
RelationshipCollection

属性

Count

在 ModelComponentCollection 中获取 ModelComponent 对象的数量。

(继承自 ModelComponentCollection)
DemandLoadingService

获取集合的需求加载服务。

(继承自 ModelComponentCollection)
IsFixedSize

获取指示 ModelComponentCollection 大小是否固定的值。

(继承自 ModelComponentCollection)
IsReadOnly

获取指示 ModelComponentCollection 是否是只读的值。

(继承自 ModelComponentCollection)
IsSynchronized

获取指示是否同步对 ModelComponentCollection 的访问的值(确保线程安全)。

(继承自 ModelComponentCollection)
Item[Int32]

在指定的从零开始的索引处获取关系。

Item[String]

获取具有指定 ID 的 Relationship。

ItemsType

获取可包含在 ModelComponentCollection 中的对象的类型。

(继承自 ModelComponentCollection)
Parent

获取 IModelComponentCollection 的父 IModelComponent。

(继承自 ModelComponentCollection)
Preloadable

获取一个值,该值指示是否可以预先加载集合。

(继承自 ModelComponentCollection)
SyncRoot

获取可用于同步对 ModelComponentCollection 的访问的对象。

(继承自 ModelComponentCollection)

方法

Add(ModelComponent)

向 ModelComponentCollection 添加 ModelComponent 对象。

(继承自 ModelComponentCollection)
Add(ModelComponent, Boolean)

向 ModelComponentCollection 添加 ModelComponent 对象。

(继承自 ModelComponentCollection)
Add(Relationship)

将指定 Relationship 添加到此集合。

Add(String)

创建、添加到集合中,并返回新的 Relationship。

Add(String, IModelComponent)

向 ModelComponentCollection 添加 IModelComponent 对象。

(继承自 ModelComponentCollection)
Add(String, IModelComponent, Boolean)

向 ModelComponentCollection 添加 IModelComponent 对象。

(继承自 ModelComponentCollection)
AddNew(String, String, Type)

向集合添加新的 IModelComponent。

(继承自 ModelComponentCollection)
AddNew(String, Type)

向集合添加新的 IModelComponent。

(继承自 ModelComponentCollection)
CanAdd(ModelComponent, String)

指示集合是否可以添加 ModelComponent。

(继承自 ModelComponentCollection)
ChangeKey(String, String)

将指定的键更改到集合中。

(继承自 ModelComponentCollection)
Clear()

从 ModelComponentCollection 删除所有元素。

(继承自 ModelComponentCollection)
Contains(IModelComponent)

确定指定项是否在集合中。

(继承自 ModelComponentCollection)
Contains(Relationship)

确定集合中是否存在指定 Relationship。

Contains(String)

确定集合中是否存在具有指定 ID 的 Relationship。

CopyTo(Array, Int32)

将整个 ModelComponentCollection 复制到从目标数组的指定索引处开始的一维数组。

(继承自 ModelComponentCollection)
EnsureLoaded()

确保集合已加载。

(继承自 ModelComponentCollection)
Find(String)

返回具有指定 ID 的 Relationship;若未找到,则返回 NULL。

GetEnumerator()

返回可遍历 ModelComponentCollection 的枚举器。

(继承自 ModelComponentCollection)
GetItem(String, Boolean, String)

获取对指定组件的引用。

(继承自 ModelComponentCollection)
IndexOf(IModelComponent)

搜索指定项并返回集合中其从零开始的索引。

(继承自 ModelComponentCollection)
IndexOf(Relationship)

在集合中搜索指定 Relationship,并返回其从零开始的索引。

IndexOf(String)

在集合中搜索具有指定 ID 的 Relationship,并返回其从零开始的索引。

Insert(IModelComponent, String, Int32)

在 ModelComponentCollection 中插入 IModelComponent。

(继承自 ModelComponentCollection)
Insert(IModelComponent, String, Int32, Boolean)

在 ModelComponentCollection 中插入 IModelComponent。

(继承自 ModelComponentCollection)
Insert(Int32, ModelComponent)

在 ModelComponentCollection 中插入 ModelComponent。

(继承自 ModelComponentCollection)
Insert(Int32, Relationship)

将 Relationship 插入此集合中的指定索引处。

Insert(Int32, String)

创建、在指定索引处插入并且返回新的 Relationship。

Move(Int32, Int32)

将集合中的 Relationship 系从一个位置移动到另一个位置。

Move(Relationship, Int32)

将集合中的 Relationship 移动到指定位置。

Move(String, Int32)

将集合中的 Relationship 移动到指定位置。

Remove(IModelComponent)

从集合删除指定的 IModelComponent。

(继承自 ModelComponentCollection)
Remove(Relationship)

从此集合中删除指定的 Relationship。

Remove(Relationship, Boolean)

从此集合中删除指定的 Relationship。

Remove(String)

从此集合中删除 Relationship。

Remove(String, Boolean)

从此集合中删除 Relationship。

RemoveAt(Int32)

从 ModelComponentCollection 中的指定索引处删除 IModelComponent。

(继承自 ModelComponentCollection)
RemoveAt(Int32, Boolean)

从 ModelComponentCollection 中指定索引处删除 IModelComponent。

(继承自 ModelComponentCollection)

事件

CollectionChanged

在集合更改时发生。

(继承自 ModelComponentCollection)
CollectionChanging

在集合正在发生更改时发生。

(继承自 ModelComponentCollection)

显式接口实现

IList.Add(Object)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.Clear()

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.Contains(Object)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.IndexOf(Object)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.Insert(Int32, Object)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.Item[Int32]

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.Remove(Object)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IList.RemoveAt(Int32)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IModelComponentCollection.Contains(IModelComponent)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IModelComponentCollection.Remove(IModelComponent)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IModelComponentCollection.Remove(IModelComponent, Boolean)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)
IOnDemandLoadableCollection.Loaded

表示 Relationship 对象的集合。

(继承自 ModelComponentCollection)

适用于