Класс 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 | This member is reserved for future use. |
![]() |
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.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от 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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)