次の方法で共有


ModelComponentCollection.Add メソッド (ModelComponent)

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

ModelComponentCollectionModelComponent オブジェクトを追加します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Protected Friend Overridable Function Add ( _
    item As ModelComponent _
) As Integer
'使用
Dim item As ModelComponent 
Dim returnValue As Integer 

returnValue = Me.Add(item)
protected internal virtual int Add(
    ModelComponent item
)
protected public:
virtual int Add(
    ModelComponent^ item
)
abstract Add : 
        item:ModelComponent -> int  
override Add : 
        item:ModelComponent -> int
function Add(
    item : ModelComponent
) : int

パラメーター

戻り値

型: System.Int32
コレクションに追加されたアイテムです。

関連項目

参照

ModelComponentCollection クラス

Add オーバーロード

Microsoft.AnalysisServices 名前空間