ModelComponentCollection.Add 方法 (ModelComponent, Boolean)
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Adds a ModelComponent object to the ModelComponentCollection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Protected Friend Overridable Function Add ( _
item As ModelComponent, _
updateDependents As Boolean _
) As Integer
'用途
Dim item As ModelComponent
Dim updateDependents As Boolean
Dim returnValue As Integer
returnValue = Me.Add(item, updateDependents)
protected internal virtual int Add(
ModelComponent item,
bool updateDependents
)
protected public:
virtual int Add(
ModelComponent^ item,
bool updateDependents
)
abstract Add :
item:ModelComponent *
updateDependents:bool -> int
override Add :
item:ModelComponent *
updateDependents:bool -> int
function Add(
item : ModelComponent,
updateDependents : boolean
) : int
參數
- item
型別:Microsoft.AnalysisServices.ModelComponent
The item to add.
- updateDependents
型別:System.Boolean
Indicates whether to update the dependents.
傳回值
型別:System.Int32
The item that is added to the collection.