NamedComponentCollection.CanAdd(ModelComponent, String) NamedComponentCollection.CanAdd(ModelComponent, String) NamedComponentCollection.CanAdd(ModelComponent, String) Method

Definition

Indicates whether the specifed ModelComponent can be added to the collection.

public override bool CanAdd (Microsoft.AnalysisServices.ModelComponent item, out string error);
override this.CanAdd : Microsoft.AnalysisServices.ModelComponent *  -> bool
Public Overrides Function CanAdd (item As ModelComponent, ByRef error As String) As Boolean

Parameters

error
String String String

The error that will occur if the collection can’t add the ModelComponent.

Returns

An indication if the componenet can be added to the collection.

Applies to