次の方法で共有


MeasureGroupCollection.CanAdd メソッド

メジャー グループをコレクションに追加できるかどうかを示します。

名前空間:  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%
    メジャー グループをコレクションに追加できない場合に発生するエラーです。

戻り値

型: System.Boolean
メジャー グループをコレクションに追加できる場合は true、追加できない場合は false です。

関連項目

参照

MeasureGroupCollection クラス

Microsoft.AnalysisServices 名前空間