Measure 类
Represents a measure within a cube or measure group.
继承层次结构
System.Object
Microsoft.AnalysisServices.AdomdServer.Measure
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
Public NotInheritable Class Measure _
Implements IDisposable, IMetadataObject
用法
Dim instance As Measure
public sealed class Measure : IDisposable,
IMetadataObject
public ref class Measure sealed : IDisposable,
IMetadataObject
[<SealedAttribute>]
type Measure =
class
interface IDisposable
interface IMetadataObject
end
public final class Measure implements IDisposable, IMetadataObject
Measure 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Caption | Gets the caption of the Measure. |
![]() |
Description | Gets the description of the Measure. |
![]() |
DisplayFolder | Gets the display folder of the Measure. |
![]() |
Expression | Gets the MDX expression that is used to aggregate the Measure. |
![]() |
Name | Gets the name of the Measure. |
![]() |
NumericPrecision | Gets the numeric precision value for the Measure. |
![]() |
NumericScale | Gets the numeric scale for the Measure. |
![]() |
ParentCube | Gets a CubeDef that contains the Measure. |
![]() |
Properties | Gets a AdomdPropertyCollection that contains the properties associated with the Measure. |
![]() |
UniqueName | Gets the unique name of the Measure. |
![]() |
Units | Gets a description of the unit of measure for the Measure. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
{dtor} | Releases all resources used by the Measure. |
![]() |
Dispose | Releases all resources used by the Measure. |
![]() |
Equals | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
注释
A measure represents the data within a fact table that is being organized and aggregated by the cube.
In ADOMD.NET, the Measure represents the metadata for a measure within a cube. A measure is not explicitly identified in a cellset, because a measure is treated as a member for querying purposes and is represented by a Measure within the Measures collection of a CubeDef.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。