ModelComponentCollection.Add 메서드 (String, IModelComponent)

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Adds a IModelComponent object to the ModelComponentCollection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Protected Function Add ( _
    key As String, _
    item As IModelComponent _
) As Integer
‘사용 방법
Dim key As String 
Dim item As IModelComponent 
Dim returnValue As Integer 

returnValue = Me.Add(key, item)
protected int Add(
    string key,
    IModelComponent item
)
protected:
int Add(
    String^ key, 
    IModelComponent^ item
)
member Add : 
        key:string * 
        item:IModelComponent -> int
protected function Add(
    key : String, 
    item : IModelComponent
) : int

매개 변수

반환 값

유형: System.Int32
The item that is added to the collection.

참고 항목

참조

ModelComponentCollection 클래스

Add 오버로드

Microsoft.AnalysisServices 네임스페이스