Database Class

 

Updated: May 24, 2016

Specifies an Analysis Services Tabular or Multidimensional database. This class cannot be inherited. Server mode and model type will determine whether you can subsequently create or modify the model tree. Specifically, if you call Tabular.Database, you can modify its model only when the model is Tabular at compatibility level 1200.

Namespace:   Microsoft.AnalysisServices.Tabular
Assembly:  Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)

System::Object
  System::MarshalByRefObject
    System.ComponentModel::Component
      Microsoft.AnalysisServices::ModelComponent
        Microsoft.AnalysisServices::NamedComponent
          Microsoft.AnalysisServices::MajorObject
            Microsoft.AnalysisServices::ProcessableMajorObject
              Microsoft.AnalysisServices.Core::Database
                Microsoft.AnalysisServices.Tabular::Database

public ref class Database : Database, ICloneable, IMajorObject

NameDescription
System_CAPS_pubmethodDatabase()

Initializes a new instance of a Tabular Database using the default values.

System_CAPS_pubmethodDatabase(ModelType, Int32)

Initializes a new instance of a Tabular Database object using the model type and compatibility level.

System_CAPS_pubmethodDatabase(String^)

Initializes a new instance of a Tabular Database using a name.

System_CAPS_pubmethodDatabase(String^, String^)

Initializes a new instance of a Tabular Database using a name and an identifier.

NameDescription
System_CAPS_pubpropertyAnnotations

Gets the collection object of all annotations to current object.(Inherited from MajorObject.)

System_CAPS_protpropertyCanRaiseEvents

(Inherited from Component.)

System_CAPS_pubpropertyCollation

Gets or sets the collation type for a Database.(Inherited from Database.)

System_CAPS_pubpropertyCompatibilityLevel

Gets or sets the compatibility level for the database.(Inherited from Database.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_pubpropertyCreatedTimestamp

Gets or sets the date and time of the creation of the object.(Inherited from MajorObject.)

System_CAPS_pubpropertyDbStorageLocation

Gets or sets the database storage location.(Inherited from Database.)

System_CAPS_pubpropertyDescription

Gets or sets a description string of current object.(Inherited from MajorObject.)

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_pubpropertyDismissedValidationResults

Gets a collection of DismissedValidationResult associated with the Database.(Inherited from Database.)

System_CAPS_pubpropertyDismissedValidationRules

Gets a collection of DismissedValidationRule associated with the Database.(Inherited from Database.)

System_CAPS_pubpropertyEstimatedSize

Gets or sets the read-only estimated size, in bytes, of the parent Database.(Inherited from Database.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_protpropertyFriendlyName

Returns a user-friendly name.(Inherited from NamedComponent.)

System_CAPS_pubpropertyID

Gets or sets the identifier of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertyImagePath

Gets or sets the image path.(Inherited from Database.)

System_CAPS_pubpropertyImageUniqueID

Gets or sets the image unique identifier.(Inherited from Database.)

System_CAPS_pubpropertyImageUrl

Gets or sets the URL path to an image to display for the database.(Inherited from Database.)

System_CAPS_pubpropertyImageVersion

Gets or sets the version of the image in the database.(Inherited from Database.)

System_CAPS_pubpropertyIsInTransaction

Gets a value that indicates whether the database is affected by current transaction.

System_CAPS_pubpropertyIsLoaded

Gets a value that indicates whether MajorObject have been loaded.(Inherited from MajorObject.)

System_CAPS_protpropertyKeyForCollection

Returns the key used in collections.(Inherited from NamedComponent.)

System_CAPS_pubpropertyLanguage

Gets or sets the language value for a Database.(Inherited from Database.)

System_CAPS_pubpropertyLastProcessed

Gets or sets the DateTime on which the object was last processed.(Inherited from ProcessableMajorObject.)

System_CAPS_pubpropertyLastSchemaUpdate

Gets or sets the date and time when current object schema was last updated.(Inherited from MajorObject.)

System_CAPS_pubpropertyLastUpdate

Gets or sets the time of last update for a Database.(Inherited from Database.)

System_CAPS_pubpropertyModel

Gets or sets the child Model of the Database.

System_CAPS_pubpropertyModelType

Gets or sets the type of model from which the database was deployed. Expected values include Default (same as multidimensional), Multidimensional, or Tabular.(Inherited from Database.)

System_CAPS_pubpropertyName

Gets or sets the name of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertyOwningCollection

Gets or sets the collection that contains the ModelComponent.(Inherited from ModelComponent.)

System_CAPS_pubpropertyParent

Gets the parent Server of a Database.

System_CAPS_pubpropertyReadWriteMode

Gets or sets the ReadWriteMode of the database. (Inherited from Database.)

System_CAPS_pubpropertyServer

Gets the parent Server of a Database.

System_CAPS_pubpropertySite

Gets or sets the site of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertySiteID

Gets or sets the identifier for the site associated with the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertyState

Gets or sets the AnalysisState of this current instance.(Inherited from ProcessableMajorObject.)

System_CAPS_pubpropertyStorageEngineUsed

Contains a read-only value that describes the storage engine used in the current database.(Inherited from Database.)

System_CAPS_pubpropertyTranslations

Gets the collection of translations associated with a Database.(Inherited from Database.)

System_CAPS_pubpropertyVersion

Gets or sets the database version.(Inherited from Database.)

System_CAPS_pubpropertyVisible

Gets or sets the Boolean visibility property associated with a Database.(Inherited from Database.)

NameDescription
System_CAPS_protmethodAddToContainer(IContainer^)

Do not reference this member directly in your code. It supports the Analysis Services infrastructure and will be hidden in a future release.(Inherited from Database.)

System_CAPS_protmethodAfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterRemove(ModelComponentCollection^)

Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.)

System_CAPS_pubmethodBackup(BackupInfo^)

Provides programmatic access to Backup operations for a Database with BackupInfo parameter. (Inherited from Database.)

System_CAPS_pubmethodBackup(String^)

Provides programmatic access to Backup operations for a Database with file parameter. (Inherited from Database.)

System_CAPS_pubmethodBackup(String^, Boolean)

Provides programmatic access to Backup operations for a Database with file and AllowOverWrite parameters. (Inherited from Database.)

System_CAPS_pubmethodBackup(String^, Boolean, Boolean)

Provides programmatic access to Backup operations for a Database with file, AllowOverWrite, and BackupRemotePartitions parameters.(Inherited from Database.)

System_CAPS_pubmethodBackup(String^, Boolean, Boolean, array<BackupLocation^>^)

Provides programmatic access to backup operations for a Database with file, AllowOverWrite, BackupRemotePartitions, and locations parameters. (Inherited from Database.)

System_CAPS_pubmethodBackup(String^, Boolean, Boolean, array<BackupLocation^>^, Boolean)

Provides programmatic access to backup operations for a Database with five parameters. (Inherited from Database.)

System_CAPS_pubmethodBackup(String^, Boolean, Boolean, array<BackupLocation^>^, Boolean, String^)

Provides programmatic access to Backup operations for a Database with six parameters. (Inherited from Database.)

System_CAPS_protmethodBeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.)

System_CAPS_pubmethodCanProcess(ProcessType)

Indicates whether the cube can perform the specified processing.(Inherited from Database.)

System_CAPS_pubmethodClone()

Returns a clone of the object.

System_CAPS_protmethodClone(Boolean)

This API is part of the Analysis Services infrastructure and is not intended to be called directly from your code. It creates a new copy of the MajorObject object. (Overrides MajorObject::Clone(Boolean).)

System_CAPS_pubmethodCopyTo(Database^)

Copies the content of this object to another object (the destination).

System_CAPS_protmethodCopyTo(MajorObject^, Boolean)

Infrastructure. Copies a MajorObject object to the specified destination. (Overrides Database::CopyTo(MajorObject^, Boolean).)

System_CAPS_protmethodCopyTo(ModelComponent^)

Copies a ModelComponent object to the specified object.(Inherited from ModelComponent.)

System_CAPS_protmethodCopyTo(NamedComponent^)

Copies a NamedComponent object to the specified object.(Inherited from NamedComponent.)

System_CAPS_pubmethodCreateObjRef(Type^)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDetach()

Detaches a database that is not in use.(Inherited from Database.)

System_CAPS_pubmethodDetach(String^)

Detaches a database with a specified password.(Inherited from Database.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from Component.)

System_CAPS_pubmethodDrop()

Removes current object and updates server.(Inherited from MajorObject.)

System_CAPS_pubmethodDrop(DropOptions)

Removes current object and updates server using specified options.(Inherited from MajorObject.)

System_CAPS_pubmethodDrop(DropOptions, XmlaWarningCollection^)

Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object.(Inherited from MajorObject.)

System_CAPS_pubmethodDrop(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.(Inherited from MajorObject.)

System_CAPS_pubmethodDrop(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.(Inherited from MajorObject.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_protmethodGetConnectedParentServer()

Defines the parent server to connect with the database object.(Inherited from Database.)

System_CAPS_protmethodGetCreateReferences(Hashtable^, Boolean, Boolean)

Gets a Hashtable to create references.(Inherited from MajorObject.)

System_CAPS_pubmethodGetDependents(Hashtable^)

Gets the dependents to the specified Hashtable.(Inherited from MajorObject.)

System_CAPS_protmethodGetDropDependents(Hashtable^, Hashtable^)

Gets the drop dependents.(Inherited from MajorObject.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetReferences(Hashtable^, Boolean)

Gets the objects that the database references.(Inherited from Database.)

System_CAPS_protmethodGetService(Type^)

(Inherited from Component.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUpdateOverwrites(Boolean)

Gets the Hashtable object that overwrites the updated MajorObject.(Inherited from MajorObject.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodProcess()

Processes the ProcessableMajorObject.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType)

Processes the ProcessableMajorObject with the specified process type.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType, ErrorConfiguration^)

Processes the ProcessableMajorObject with the specified process type.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType, ErrorConfiguration^, XmlaWarningCollection^)

Processes the ProcessableMajorObject with the specified process type.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType, ErrorConfiguration^, XmlaWarningCollection^, ImpactDetailCollection^)

Processes the ProcessableMajorObject with the specified process type.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType, ErrorConfiguration^, XmlaWarningCollection^, ImpactDetailCollection^, Boolean)

Processes the ProcessableMajorObject with the specified process type.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType, IBinding^)

(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodProcess(ProcessType, WriteBackTableCreation)

Processes the ProcessableMajorObject with the specified process type and writeback option.(Inherited from ProcessableMajorObject.)

System_CAPS_pubmethodRefresh()

Updates current object from server definitions.(Inherited from MajorObject.)

System_CAPS_pubmethodRefresh(Boolean)

Updates current object from server definitions and loaded dependent objects if specified.(Inherited from MajorObject.)

System_CAPS_pubmethodRefresh(Boolean, RefreshType)

Updates current object from server definitions and loaded dependent objects if specified.(Inherited from MajorObject.)

System_CAPS_protmethodRemoveFromContainer(IContainer^)

Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethodReset()

Resets the component to its initial state.(Inherited from NamedComponent.)

System_CAPS_pubmethodSubmit()

Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit(Boolean)

Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodToString()

Returns a string containing the name of the component.(Inherited from NamedComponent.)

System_CAPS_pubmethodUpdate()

Updates server definition of current object to actual values using the default values to update dependent objects.(Inherited from MajorObject.)

System_CAPS_pubmethodUpdate(UpdateOptions)

Updates server definition of current object to actual values using the specified options to update dependent objects.(Inherited from MajorObject.)

System_CAPS_pubmethodUpdate(UpdateOptions, UpdateMode)

Updates server definition of current object to actual values using the specified options to update dependent objects.(Inherited from MajorObject.)

System_CAPS_pubmethodUpdate(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.(Inherited from MajorObject.)

System_CAPS_pubmethodUpdate(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.(Inherited from MajorObject.)

System_CAPS_pubmethodUpdate(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.(Inherited from MajorObject.)

System_CAPS_pubmethodValidate(ValidationErrorCollection^)

Validates the element to which it is appended; returns any errors encountered in a collection.(Inherited from ModelComponent.)

System_CAPS_pubmethodValidate(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.(Inherited from ModelComponent.)

System_CAPS_pubmethodValidate(ValidationErrorCollection^, Boolean, ServerEdition)

Determines whether the NamedComponent is valid.(Inherited from NamedComponent.)

System_CAPS_pubmethodValidate(ValidationResultCollection^)

Indicates whether the MajorObject is valid.(Inherited from MajorObject.)

System_CAPS_pubmethodValidate(ValidationResultCollection^, ValidationOptions)

Indicates whether the MajorObject is valid.(Inherited from MajorObject.)

System_CAPS_pubmethodValidate(ValidationResultCollection^, ValidationOptions, ServerEdition)

Indicates whether the MajorObject is valid.(Inherited from MajorObject.)

NameDescription
System_CAPS_pubeventDisposed

(Inherited from Component.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDeserializationStartCallback::OnDeserializationBegin(Object^)

Runs when the entire object graph starts to deserialized.(Inherited from MajorObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIMajorObject::CreateBody()

Creates a new body for the current object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIMajorObject::DependsOn(IMajorObject^)

Determines whether the database depends on a specified object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIMajorObject::WriteRef(XmlWriter^)

Writes a reference for the current object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable::Clone()

Creates an exact copy of the object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIFormattable::ToString(String^, IFormatProvider^)

Formats the value of the current instance using the specified format.(Inherited from NamedComponent.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDeserializationCallback::OnDeserialization(Object^)

Runs when the entire object graph has been deserialized.(Inherited from MajorObject.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIHostableComponent::Host

(Inherited from ModelComponent.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIModelComponent::FriendlyPath

(Inherited from ModelComponent.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIModelComponent::OwningCollection

(Inherited from ModelComponent.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIProcessable::LastProcessed

(Inherited from ProcessableMajorObject.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIProcessable::State

(Inherited from ProcessableMajorObject.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIMajorObject::BaseType

Gets the type from which the current object directly inherits.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIMajorObject::ObjectReference

Gets the ID-based reference to the object.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIMajorObject::ParentDatabase

Gets the parent database of the current object.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIMajorObject::ParentServer

Gets the parent server.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIMajorObject::Path

Gets the path implementation for this object.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: