MeasureGroupCollection.CanAdd Method

Indicates whether the collection can add a measure group.

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

Syntax

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

Parameters

  • error
    Type: System.String%
    The error that will occur if the collection can’t add a measure group.

Return Value

Type: System.Boolean
true if the collection can add a measure group; otherwise, false.

See Also

Reference

MeasureGroupCollection Class

Microsoft.AnalysisServices Namespace