共用方式為


Add 方法 (ModelComponent, Boolean)

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  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

參數

傳回值

型別:System. . :: . .Int32