Класс Cube
Represents a cube from a database. This class cannot be inherited.
Иерархия наследования
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
Microsoft.AnalysisServices. . :: . .ModelComponent
Microsoft.AnalysisServices. . :: . .NamedComponent
Microsoft.AnalysisServices. . :: . .MajorObject
Microsoft.AnalysisServices. . :: . .ProcessableMajorObject
Microsoft.AnalysisServices..::..Cube
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")> _
Public NotInheritable Class Cube _
Inherits ProcessableMajorObject _
Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
IDisposable, ICloneable
'Применение
Dim instance As Cube
[GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")]
public sealed class Cube : ProcessableMajorObject, IMajorObject,
INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable
[GuidAttribute(L"127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")]
public ref class Cube sealed : public ProcessableMajorObject,
IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")>]
type Cube =
class
inherit ProcessableMajorObject
interface IMajorObject
interface INamedComponent
interface IModelComponent
interface IComponent
interface IDisposable
interface ICloneable
end
public final class Cube extends ProcessableMajorObject implements IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable
Тип Cube обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
Cube() () () () | Initializes a new instance of the Cube class using the default values. | |
Cube(String) | Initializes a new instance of Cube using a name. | |
Cube(String, String) | Initializes a new instance of the Cube class, using a name and an identifier. |
В начало
Свойства
Имя | Описание | |
---|---|---|
Actions | Gets the actions collection for the cube. | |
AggregationPrefix | Gets or sets the prefix for aggregations in the cube. | |
AllMeasures | Gets all measures as an enumeration object. | |
Annotations | Gets the collection object of all annotations to current object. (Производный от MajorObject.) | |
CanRaiseEvents | (Производный от Component.) | |
Collation | Gets or sets the collation string for a Cube. | |
Container | (Производный от Component.) | |
CreatedTimestamp | Gets or sets the date and time of the creation of the object. (Производный от MajorObject.) | |
CubePermissions | Gets the permissions collection associated with a cube. | |
DataSource | Gets the DataSource object associated with a Cube. | |
DataSourceView | Gets the DataSourceView object associated with a Cube. | |
DefaultMdxScript | Gets the defaultmdxscript object associated with a Cube. | |
DefaultMeasure | Gets or sets the DefaultMeasure associated with a Cube. | |
Description | Gets or sets a description string of current object. (Производный от MajorObject.) | |
DesignMode | (Производный от Component.) | |
Dimensions | Gets the dimensions collection associated with a Cube. | |
ErrorConfiguration | Gets or sets the ErrorConfiguration associated with a Cube. | |
EstimatedRows | Gets or sets the number of EstimatedRows for a Cube. | |
Events | (Производный от Component.) | |
FriendlyName | (Производный от NamedComponent.) | |
ID | (Производный от NamedComponent.) | |
IsLoaded | Инфраструктура. (Производный от MajorObject.) | |
KeyForCollection | (Производный от NamedComponent.) | |
Kpis | Gets a collection of Kpis associated with a Cube. | |
Language | Gets or sets the default Language to use for the Cube. | |
LastProcessed | (Производный от ProcessableMajorObject.) | |
LastSchemaUpdate | Gets or sets the date and time when current object schema was last updated. (Производный от MajorObject.) | |
MdxScripts | Gets a collection of MdxScripts associated with a Cube. | |
MeasureGroups | Gets a collection of MeasureGroups associated with a Cube. | |
Name | (Производный от NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.) | |
Parent | Gets the parent Database of the Cube object. | |
ParentServer | Gets the Server object that is the parent of the Cube. | |
Perspectives | Gets the perspectives for the cube. | |
ProactiveCaching | Gets or sets the proactive caching settings for the cube. | |
ProcessingMode | Gets or sets the index and aggregation settings for cube processing. | |
ProcessingPriority | Gets or sets the processing priority for the cube. | |
ScriptCacheProcessingMode | Gets or sets the script cache settings for processing. | |
ScriptErrorHandlingMode | ||
Site | (Производный от NamedComponent.) | |
SiteID | (Производный от NamedComponent.) | |
Source | Gets or sets the source for a relational cube. | |
State | (Производный от ProcessableMajorObject.) | |
StorageLocation | Gets or sets the storage location for the cube. | |
StorageMode | Gets or sets the storage mode for the cube. | |
Translations | Gets the translations for the cube. | |
Visible | Gets or sets a value that indicates whether a cube can be viewed. |
В начало
Методы
Имя | Описание | |
---|---|---|
AddToContainer | Инфраструктура. (Производный от ModelComponent.) | |
AfterInsert | Инфраструктура. (Производный от ModelComponent.) | |
AfterMove | Инфраструктура. (Производный от ModelComponent.) | |
AfterRemove | Инфраструктура. (Производный от ModelComponent.) | |
BeforeRemove | Инфраструктура. (Производный от ModelComponent.) | |
CanProcess | Indicates whether the cube can perform the specified processing. (Переопределяет ProcessableMajorObject. . :: . .CanProcess(ProcessType).) | |
Clone() () () () | Creates a new, full copy of an object. | |
Clone(Boolean) | Инфраструктура. (Производный от MajorObject.) | |
CopyTo(Cube) | Copies a Cube to the specified object. | |
CopyTo(ModelComponent) | Инфраструктура. (Производный от ModelComponent.) | |
CopyTo(NamedComponent) | (Производный от NamedComponent.) | |
CopyTo(MajorObject, Boolean) | (Производный от ProcessableMajorObject.) | |
CreateObjRef | (Производный от MarshalByRefObject.) | |
Dispose() () () () | (Производный от Component.) | |
Dispose(Boolean) | (Производный от Component.) | |
Drop() () () () | Removes current object and updates server. (Производный от MajorObject.) | |
Drop(DropOptions) | Removes current object and updates server using specified options. (Производный от MajorObject.) | |
Drop(DropOptions, XmlaWarningCollection) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (Производный от MajorObject.) | |
Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Производный от MajorObject.) | |
Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Производный от MajorObject.) | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Component.) | |
GetCreateReferences | Инфраструктура. (Производный от MajorObject.) | |
GetDependents | Adds the mining structures and subsequent dependants to the specified Hashtable. (Переопределяет MajorObject. . :: . .GetDependents(Hashtable).) | |
GetDropDependents | Инфраструктура. (Производный от MajorObject.) | |
GetHashCode | (Производный от Object.) | |
GetLifetimeService | (Производный от MarshalByRefObject.) | |
GetReferences | Gets the objects that the cube references. (Переопределяет MajorObject. . :: . .GetReferences(Hashtable, Boolean).) | |
GetService | (Производный от Component.) | |
GetType | (Производный от Object.) | |
GetUpdateOverwrites | Инфраструктура. (Производный от MajorObject.) | |
InitializeLifetimeService | (Производный от MarshalByRefObject.) | |
LinkMeasureGroup(MeasureGroup, String) | Generates a regular measure group, but it is set up to point to other measure groups. As parameters, this method takes the measure group (source) you want to link to and a data source identifier. | |
LinkMeasureGroup(MeasureGroup, String, String) | Generates a regular measure group, but it is set up to point to other measure groups. As parameters, this method takes the measure group (source) you want to link to and a data source identifier. | |
MemberwiseClone() () () () | (Производный от Object.) | |
MemberwiseClone(Boolean) | (Производный от MarshalByRefObject.) | |
Process() () () () | (Производный от ProcessableMajorObject.) | |
Process(ProcessType) | (Производный от ProcessableMajorObject.) | |
Process(ProcessType, Binding) | (Производный от ProcessableMajorObject.) | |
Process(ProcessType, ErrorConfiguration) | (Производный от ProcessableMajorObject.) | |
Process(ProcessType, WriteBackTableCreation) | (Производный от ProcessableMajorObject.) | |
Process(ProcessType, ErrorConfiguration, XmlaWarningCollection) | (Производный от ProcessableMajorObject.) | |
Process(ProcessType, ErrorConfiguration, XmlaWarningCollection, ImpactDetailCollection) | (Производный от ProcessableMajorObject.) | |
Process(ProcessType, ErrorConfiguration, XmlaWarningCollection, ImpactDetailCollection, Boolean) | (Производный от ProcessableMajorObject.) | |
Refresh() () () () | Updates current object from server definitions. (Производный от MajorObject.) | |
Refresh(Boolean) | Updates current object from server definitions and loaded dependent objects if specified. (Производный от MajorObject.) | |
Refresh(Boolean, RefreshType) | Updates current object from server definitions and loaded dependent objects if specified. (Производный от MajorObject.) | |
RemoveFromContainer | Инфраструктура. (Производный от ModelComponent.) | |
Reset | (Производный от NamedComponent.) | |
Submit() () () () | Инфраструктура. (Производный от ModelComponent.) | |
Submit(Boolean) | Инфраструктура. (Производный от ModelComponent.) | |
ToString | (Производный от NamedComponent.) | |
Update() () () () | Updates server definition of current object to actual values using the default values to update dependent objects. (Производный от MajorObject.) | |
Update(UpdateOptions) | Updates server definition of current object to actual values using the specified options to update dependent objects. (Производный от MajorObject.) | |
Update(UpdateOptions, UpdateMode) | Updates server definition of current object to actual values using the specified options to update dependent objects. (Производный от MajorObject.) | |
Update(UpdateOptions, UpdateMode, XmlaWarningCollection) | Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation. (Производный от MajorObject.) | |
Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection) | Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. (Производный от MajorObject.) | |
Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean) | Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation. (Производный от MajorObject.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Производный от ModelComponent.) | |
Validate(ValidationResultCollection) | (Производный от MajorObject.) | |
Validate(ValidationErrorCollection, Boolean) | Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Производный от ModelComponent.) | |
Validate(ValidationResultCollection, ValidationOptions) | (Производный от MajorObject.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | (Переопределяет NamedComponent. . :: . .Validate(ValidationErrorCollection, Boolean, ServerEdition).) | |
Validate(ValidationResultCollection, ValidationOptions, ServerEdition) | (Производный от MajorObject.) | |
Validate(ValidationErrorCollection, Boolean, Boolean, ServerEdition) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
ICloneable. . :: . .Clone | ||
IDeserializationCallback. . :: . .OnDeserialization | (Производный от MajorObject.) | |
IFormattable. . :: . .ToString | (Производный от NamedComponent.) | |
IDeserializationStartCallback. . :: . .OnDeserializationBegin | (Производный от MajorObject.) | |
IHostableComponent. . :: . .Host | (Производный от ModelComponent.) | |
IMajorObject. . :: . .BaseType | ||
IMajorObject. . :: . .CreateBody | ||
IMajorObject. . :: . .DependsOn | ||
IMajorObject. . :: . .ObjectReference | ||
IMajorObject. . :: . .ParentDatabase | ||
IMajorObject. . :: . .Path | ||
IMajorObject. . :: . .WriteRef | ||
IModelComponent. . :: . .FriendlyPath | (Производный от ModelComponent.) | |
IModelComponent. . :: . .OwningCollection | (Производный от ModelComponent.) | |
IProcessable. . :: . .LastProcessed | (Производный от ProcessableMajorObject.) | |
IProcessable. . :: . .State | (Производный от ProcessableMajorObject.) |
В начало
Замечания
Cubes are managed from a cubes collection in a database. Cubes are created by adding them to the cubes collection in the database. Cubes are deleted by removing them from the cubes collection in the database.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.