CubeCollection.Insert 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Insert(Int32, String, String) |
使用指定的名称和标识符创建一个新的 Cube 对象,将其插入到此集合中的指定索引处,并返回新创建的 Cube。 |
Insert(Int32, String) |
使用指定的名称创建一个新的 Cube 对象,将其插入到此集合中的指定索引处,并返回新创建的 Cube。 |
Insert(Int32) |
使用生成的唯一名称和标识符创建一个新的 Cube 对象,将其插入到此集合中指定的索引处,并返回新创建的 Cube。 |
Insert(Int32, Cube) |
将指定的 Cube 插入到集合中的指定索引处。 |
Insert(Int32, String, String)
使用指定的名称和标识符创建一个新的 Cube 对象,将其插入到此集合中的指定索引处,并返回新创建的 Cube。
public Microsoft.AnalysisServices.Cube Insert (int index, string name, string id);
override this.Insert : int * string * string -> Microsoft.AnalysisServices.Cube
Public Function Insert (index As Integer, name As String, id As String) As Cube
参数
返回
新创建的 Cube 对象。
例外
指定的索引不是有效值(小于零或大于元素总数)。
- 指定的名称在集合中无效。
- 指定的标识符在集合中无效。
适用于
Insert(Int32, String)
使用指定的名称创建一个新的 Cube 对象,将其插入到此集合中的指定索引处,并返回新创建的 Cube。
public Microsoft.AnalysisServices.Cube Insert (int index, string name);
override this.Insert : int * string -> Microsoft.AnalysisServices.Cube
Public Function Insert (index As Integer, name As String) As Cube
参数
返回
新创建的 Cube 对象。
例外
指定的索引不是有效值(小于零或大于元素总数)。
指定的名称在集合中无效。
注解
基于指定的名称生成该 Cube 标识符。
适用于
Insert(Int32)
Insert(Int32, Cube)
将指定的 Cube 插入到集合中的指定索引处。
public void Insert (int index, Microsoft.AnalysisServices.Cube item);
override this.Insert : int * Microsoft.AnalysisServices.Cube -> unit
Public Sub Insert (index As Integer, item As Cube)
参数
例外
指定的索引不是有效值(小于零或大于元素总数)。