ModelComponentCollection.CanAdd 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Indicates whether the collection can add a ModelComponent.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public Overridable Function CanAdd ( _
item As ModelComponent, _
<OutAttribute> ByRef error As String _
) As Boolean
‘사용 방법
Dim instance As ModelComponentCollection
Dim item As ModelComponent
Dim error As String
Dim returnValue As Boolean
returnValue = instance.CanAdd(item, error)
public virtual bool CanAdd(
ModelComponent item,
out string error
)
public:
virtual bool CanAdd(
ModelComponent^ item,
[OutAttribute] String^% error
)
abstract CanAdd :
item:ModelComponent *
error:string byref -> bool
override CanAdd :
item:ModelComponent *
error:string byref -> bool
public function CanAdd(
item : ModelComponent,
error : String
) : boolean
매개 변수
- item
유형: Microsoft.AnalysisServices.ModelComponent
The item to add.
- error
유형: System.String%
The error that will occur if the collection can’t add a ModelComponent.
반환 값
유형: System.Boolean
true if the collection can add a ModelComponent; otherwise, false.