CanAdd 方法
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
此成員會覆寫 ModelComponentCollection. . :: . .CanAdd(ModelComponent, String%)。
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Overrides Function CanAdd ( _
item As ModelComponent, _
<OutAttribute> ByRef error As String _
) As Boolean
'用途
Dim instance As NamedComponentCollection
Dim item As ModelComponent
Dim error As String
Dim returnValue As Boolean
returnValue = instance.CanAdd(item, error)
public override bool CanAdd(
ModelComponent item,
out string error
)
public:
virtual bool CanAdd(
ModelComponent^ item,
[OutAttribute] String^% error
) override
abstract CanAdd :
item:ModelComponent *
error:string byref -> bool
override CanAdd :
item:ModelComponent *
error:string byref -> bool
public override function CanAdd(
item : ModelComponent,
error : String
) : boolean