ModelComponentCollection.AddNew 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddNew(String, Type) |
向集合添加新的 IModelComponent。 |
AddNew(String, String, Type) |
向集合添加新的 IModelComponent。 |
AddNew(String, Type)
向集合添加新的 IModelComponent。
protected Microsoft.AnalysisServices.IModelComponent AddNew (string key, Type type);
member this.AddNew : string * Type -> Microsoft.AnalysisServices.IModelComponent
Protected Function AddNew (key As String, type As Type) As IModelComponent
参数
- key
- String
键。
- type
- Type
组件的类型。
返回
添加到集合的 IModelComponent。
适用于
AddNew(String, String, Type)
向集合添加新的 IModelComponent。
protected Microsoft.AnalysisServices.IModelComponent AddNew (string name, string key, Type type);
member this.AddNew : string * string * Type -> Microsoft.AnalysisServices.IModelComponent
Protected Function AddNew (name As String, key As String, type As Type) As IModelComponent
参数
- name
- String
要添加的组件的名称。
- key
- String
键。
- type
- Type
组件的类型。
返回
添加到集合的 IModelComponent。