共用方式為


MeasureGroupCollection.FindByName 方法

Gets the MeasureGroup that has the specified name from the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function FindByName ( _
    name As String _
) As MeasureGroup
'用途
Dim instance As MeasureGroupCollection 
Dim name As String 
Dim returnValue As MeasureGroup 

returnValue = instance.FindByName(name)
public MeasureGroup FindByName(
    string name
)
public:
MeasureGroup^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> MeasureGroup
public function FindByName(
    name : String
) : MeasureGroup

參數

傳回值

型別:Microsoft.AnalysisServices.MeasureGroup
The MeasureGroup if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

請參閱

參考

MeasureGroupCollection 類別

Microsoft.AnalysisServices 命名空間