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.