MiningStructureCollection.CanAdd(ModelComponent, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the collection can add a ModelComponent.
public override bool CanAdd (Microsoft.AnalysisServices.ModelComponent item, out string error);
override this.CanAdd : Microsoft.AnalysisServices.ModelComponent * string -> bool
Public Overrides Function CanAdd (item As ModelComponent, ByRef error As String) As Boolean
Parameters
- item
- ModelComponent
The ModelComponent to add.
- error
- String
The error that will occur if the collection can�t add the specified ModelComponent.
Returns
True, if the collection can add the ModelComponent; otherwise, false.