共用方式為


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.