CubeCollection.CanAdd Method (ModelComponent, String)

 

Updated: May 24, 2016

Indicates whether the collection can add a ModelComponent.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public override bool CanAdd(
	ModelComponent item,
	out string error
)

Parameters

item
Type: Microsoft.AnalysisServices.ModelComponent

The ModelComponent to add.

error
Type: System.String

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

Return Value

Type: System.Boolean

true if the collection can add a ModelComponent; otherwise, false.

Return to top
Show: