MeasureCollection.Find 方法

Returns the specified Measure from the collection.

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public Function Find ( _
    name As String _
) As Measure
用法
Dim instance As MeasureCollection 
Dim name As String 
Dim returnValue As Measure 

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

参数

返回值

类型:Microsoft.AnalysisServices.AdomdServer.Measure
The Measure with the specified name if found; otherwise, null.

注释

The Find method returns null if the object is not found, while the Item property throws an exception if the object is not found.

请参阅

参考

MeasureCollection 类

Microsoft.AnalysisServices.AdomdServer 命名空间