CalculateMdxObject 메서드
Evaluates the Multidimensional Expressions (MDX) expression under a specific tuple and returns the result.
네임스페이스: Microsoft.AnalysisServices.AdomdServer
어셈블리: msmgdsrv(msmgdsrv.dll)
구문
‘선언
Public Function CalculateMdxObject ( _
tuple As Tuple _
) As MDXValue
‘사용 방법
Dim instance As Expression
Dim tuple As Tuple
Dim returnValue As MDXValue
returnValue = instance.CalculateMdxObject(tuple)
public MDXValue CalculateMdxObject(
Tuple tuple
)
public:
MDXValue^ CalculateMdxObject(
Tuple^ tuple
)
member CalculateMdxObject :
tuple:Tuple -> MDXValue
public function CalculateMdxObject(
tuple : Tuple
) : MDXValue
매개 변수
- tuple
유형: Microsoft.AnalysisServices.AdomdServer. . :: . .Tuple
The tuple under which to evaluate the MDX expression.
반환 값
유형: Microsoft.AnalysisServices.AdomdServer. . :: . .MDXValue
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.