Calendar Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a logical calendar as part of the DAX Time-Intelligence support.
public sealed class Calendar : Microsoft.AnalysisServices.Tabular.NamedMetadataObject, Microsoft.AnalysisServices.Tabular.IMetadataObjectWithLineage
type Calendar = class
inherit NamedMetadataObject
interface IMetadataObjectWithLineage
Public NotInheritable Class Calendar
Inherits NamedMetadataObject
Implements IMetadataObjectWithLineage
- Inheritance
- Implements
Remarks
This metadata object is only supported when the compatibility level of the database is at 1701 or above.
Constructors
Calendar() |
Create a new instance of the Calendar class with default settings. |
Properties
CalendarColumnGroups |
Gets the collection object of all calendarcolumngroups in the current Calendar. |
Description |
The description of the Calendar, visible to developers at design time and to administrators in management tools, such as SQL Server Management Studio. |
IsRemoved |
A Boolean specifying whether this object was removed from an object tree. (Inherited from MetadataObject) |
LineageTag |
A tag that represents the lineage of the object. |
Model |
Gets the Tabular model that contains this object. (Inherited from MetadataObject) |
ModifiedTime |
The time that the object was last modified. |
Name |
Gets or Sets the Name of this object. |
ObjectType |
Gets the type of object. (Inherited from MetadataObject) |
Parent |
Gets the parent of the current MetadataObject. (Inherited from MetadataObject) |
SourceLineageTag |
A tag that represents the lineage of the source for the object. |
Table |
A reference to a Table object that owns this Calendar. |
Methods
Clone() |
Creates a new, full copy of a Calendar object. |
CopyFrom(Calendar) |
Obsolete.
Deprecated. Use CopyTo method instead. |
CopyTo(Calendar) |
Copies a Calendar object to the specified object. |
Rename(String) |
Obsolete.
Deprecated. Use RequestRename method instead. |
RequestRename(String) |
Request rename of this object. |
Validate() |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from MetadataObject) |