Partager via


CanAdd méthode

Ce membre se substitue à NamedComponentCollection. . :: . .CanAdd(ModelComponent, String%).

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Overrides Function CanAdd ( _
    item As ModelComponent, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Utilisation
Dim instance As MiningStructureCollection
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

Valeur de retour

Type : System. . :: . .Boolean