Поделиться через


Метод MeasureGroupCollection.CanAdd

Indicates whether the collection can add a measure group.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Overrides Function CanAdd ( _
    item As ModelComponent, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Применение
Dim instance As MeasureGroupCollection 
Dim item As ModelComponent 
Dim error As String 
Dim returnValue As Boolean 

returnValue = instance.CanAdd(item, error)
public override bool CanAdd(
    ModelComponent item,
    out string error
)
public:
virtual bool CanAdd(
    ModelComponent^ item, 
    [OutAttribute] String^% error
) override
abstract CanAdd : 
        item:ModelComponent * 
        error:string byref -> bool  
override CanAdd : 
        item:ModelComponent * 
        error:string byref -> bool
public override function CanAdd(
    item : ModelComponent, 
    error : String
) : boolean

Параметры

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

Возвращаемое значение

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

См. также

Справочник

MeasureGroupCollection Класс

Пространство имен Microsoft.AnalysisServices