Classe Measure
Defines a fact attribute for which an aggregation is obtained. This class cannot be inherited.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
Microsoft.AnalysisServices. . :: . .ModelComponent
Microsoft.AnalysisServices. . :: . .NamedComponent
Microsoft.AnalysisServices..::..Measure
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
<GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")> _
Public NotInheritable Class Measure _
Inherits NamedComponent _
Implements ICloneable
'Utilisation
Dim instance As Measure
[GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
public sealed class Measure : NamedComponent,
ICloneable
[GuidAttribute(L"0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
public ref class Measure sealed : public NamedComponent,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")>]
type Measure =
class
inherit NamedComponent
interface ICloneable
end
public final class Measure extends NamedComponent implements ICloneable
Le type Measure expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
Measure() () () () | Initializes a new instance of Measure using the default values. | |
Measure(String) | Initializes a new instance of Measure using a name. | |
Measure(String, String) | Initializes a new instance of Measure using a name and an identifier. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
AggregateFunction | Gets or sets the aggregate function applied to current measure. | |
Annotations | Gets a collection within which you can store custom data. (hérité de ModelComponent.) | |
BackColor | Gets or sets the BackColor for display of a Measure. | |
CanRaiseEvents | (hérité de Component.) | |
Container | (hérité de Component.) | |
DataType | Gets or sets the current measure data type. | |
Description | (hérité de NamedComponent.) | |
DesignMode | (hérité de Component.) | |
DisplayFolder | Gets or sets the DisplayFolder information of the Measure, for use by clients. | |
Events | (hérité de Component.) | |
FontFlags | Gets or sets the FontFlags information of the Measure, for use by clients. | |
FontName | Gets or sets the FontName information of the Measure, for use by clients. | |
FontSize | Gets or sets the FontSize information of the Measure, for use by clients. | |
ForeColor | Gets or sets the ForeColor information of the Measure, for use by clients. | |
FormatString | Gets or sets the FormatString information of the Measure, for use by clients. | |
FriendlyName | (hérité de NamedComponent.) | |
ID | (hérité de NamedComponent.) | |
IsLinked | ||
KeyForCollection | (hérité de NamedComponent.) | |
MeasureExpression | ||
Name | (hérité de NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (hérité de ModelComponent.) | |
Parent | Gets the MeasureGroup that is the parent of the Measure. | |
ParentCube | Gets the Cube object that is the parent of the Measure object. | |
ParentDatabase | Gets the Database object that is the parent of the Measure. | |
ParentServer | Gets the Server object that is the parent of the Measure. | |
Site | (hérité de NamedComponent.) | |
SiteID | (hérité de NamedComponent.) | |
Source | Gets or sets the data item source for the current measure. | |
Translations | Gets the TranslationCollection object for the current measure. | |
Visible | Gets or sets whether the Measure should be visible to the client. |
Haut de la page
Méthodes
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
ICloneable. . :: . .Clone | ||
IFormattable. . :: . .ToString | (hérité de NamedComponent.) | |
IHostableComponent. . :: . .Host | (hérité de ModelComponent.) | |
IModelComponent. . :: . .FriendlyPath | (hérité de ModelComponent.) | |
IModelComponent. . :: . .OwningCollection | (hérité de ModelComponent.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.