ModelComponentCollection.Add 메서드 (String, IModelComponent, Boolean)
이 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, _
updateDependents As Boolean _
) As Integer
‘사용 방법
Dim key As String
Dim item As IModelComponent
Dim updateDependents As Boolean
Dim returnValue As Integer
returnValue = Me.Add(key, item, updateDependents)
protected int Add(
string key,
IModelComponent item,
bool updateDependents
)
protected:
int Add(
String^ key,
IModelComponent^ item,
bool updateDependents
)
member Add :
key:string *
item:IModelComponent *
updateDependents:bool -> int
protected function Add(
key : String,
item : IModelComponent,
updateDependents : boolean
) : int
매개 변수
- key
유형: System.String
The key.
- item
유형: Microsoft.AnalysisServices.IModelComponent
The item to add.
- updateDependents
유형: System.Boolean
Indicates whether to update the dependents.
반환 값
유형: System.Int32
The item that is added to the collection.