MeasureGroupCollection.CanAdd Method (ModelComponent, String)

 

Applies To: SQL Server 2016 Preview

Indicates whether the collection can add a measure group.

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

Syntax

public override bool CanAdd(
    ModelComponent item,
    out string error
)
public:
virtual bool CanAdd(
    ModelComponent^ item,
    [OutAttribute] String^% error
) override
override CanAdd : 
        item:ModelComponent *
        error:string byref -> bool
Public Overrides Function CanAdd (
    item As ModelComponent,
    <OutAttribute> ByRef error As String
) As Boolean

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

MeasureGroupCollection Class
Microsoft.AnalysisServices Namespace

Return to top