Current 属性

Gets the current CubeDef in the CubeCollection.

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

语法

声明
Public ReadOnly Property Current As CubeDef
    Get
用法
Dim instance As CubeCollection..::..Enumerator
Dim value As CubeDef

value = instance.Current
public CubeDef Current { get; }
public:
property CubeDef^ Current {
    CubeDef^ get ();
}
member Current : CubeDef
function get Current () : CubeDef

属性值

类型:Microsoft.AnalysisServices.AdomdClient. . :: . .CubeDef
The current CubeDef in the CubeCollection, if the Enumerator has not passed the end of the collection.

异常

异常 条件
System..::..InvalidOperationException

The Enumerator is currently before the first or after the last cube in the CubeCollection.