Find 方法

Gets the specified Dimension from the collection by its name.

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

语法

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

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

参数

返回值

类型:Microsoft.AnalysisServices.AdomdServer. . :: . .Dimension
If the object is not found, the Find method returns nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing), whereas the Item property throws an exception.