共用方式為


Current 屬性

Gets the current CubeDef in the CubeCollection.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.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

例外狀況

例外狀況 條件
[InvalidOperationException]

The Enumerator is currently before the first or after the last cube in the CubeCollection. For more information about this exception, see InvalidOperationException Class.