Expression.CalculateMdxObject Method
Evaluates the Multidimensional Expressions (MDX) expression under a specific tuple and returns the result.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.dll)
語法
'宣告
Public Function CalculateMdxObject ( _
tuple As Tuple _
) As MDXValue
public MDXValue CalculateMdxObject (
Tuple tuple
)
public:
MDXValue^ CalculateMdxObject (
Tuple^ tuple
)
public MDXValue CalculateMdxObject (
Tuple tuple
)
public function CalculateMdxObject (
tuple : Tuple
) : MDXValue
參數
- tuple
The tuple under which to evaluate the MDX expression.
傳回值
An MDXValue that contains the result of the MDX expression.
備註
The type of the MDXValue that is returned can be a non-scalar value, such as a set, a tuple, or a member. The MDXValue that is returned can be cast using one of the To methods, such as ToSet, ToTuple, or ToMember. The MDXValue can also be cast by language-specific casting.
To retrieve a scalar value, such as an integer, double, or string, after evaluating an MDX expression, use the Calculate method.
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
Expression Class
Expression Members
Microsoft.AnalysisServices.AdomdServer Namespace