The Database type exposes the following members.

Methods

  NameDescription
Backup
Executes a backup of the Database.
CancelCalculation
Cancels all pending transactions. Returns false if it fails or if transactions have not been started.
CancelTransaction
Cancels all pending transactions. Returns false if it fails or if transactions have not been started.
Close
.NET only. Disconnects the client from the Database.
CommitTransaction
Commits all pending transactions. Returns false if it fails or if transactions have not been started.
Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Dump
.NET Only. Dumps the cache at the specified level to the specified dumpWriter.
(Inherited from IDumpObject.)
ExportMetaDataOverloaded.
ExportTransactionLog
Exports the Database Transaction Log using the specified parameters.
ImportMetaDataOverloaded.
PrepareExportMetaDataParam
Generates an ExportMetaDataInfo structure for use with the ExportMetaData method call.
PrepareExportTransactionLogParam
Generates an ExportTransactionLogInfo structure for use with the ExportTransactionLog method call.
PrepareImportMetaDataParam
Generates an ImportMetaDataInfo structure for use with the ImportMetaData method call.
PrepareRebuildCubeParam
Generates a RebuildCubeInfo structure for use with the RebuildCubeFromRelationalSource method call.
PrepareTransferCubeParam
Generates an TransferCubeInfo structure for use with the TransferCube method call.
PrepareXmlExportMetaDataParam
Generates an XmlExportMetaDataInfo structure for use with the ExportMetaData method call.
PrepareXmlImportMetaDataParam
Generates an XmlImportMetaDataInfo structure for use with the ImportMetaData method call.
RebuildCubeFromRelationalSource
Rebuilds the specified Cube from its relational source using the specified parameters.
Refresh
Clears client’s cached objects and refreshes them from the server.
Rename
Changes the name of the Database.
ResetServerCache
Resets the server’s calculation cache for this Database.
Save
Executes a save of the Database.
StartTransaction
Starts transaction caching. With CommitTransaction, used to cache all MetaData changes and then commit them at one time. If not started, changes are pushed to the server as they are made.
SynchronizeWithReplicationServer
Attempts to synchronize the Database with a Replication Server.
TransferCube
Transfers data from one Cube to another using the specified parameters.
Unload
Unloads the Database on the server. Must have Administrative privileges to execute.

Properties

  NameDescription
AllowReservedCharacters
Gets/Sets if the Database should suspend checking for reserved characters.
CanSynchronizeWithReplicationServer
Gets whether the Database is configured to sync with a Replication Server.
Connection
Gets the existing Connection.
Cubes
Gets the DatabaseCubes collection for this Database.
Dimensions
Gets the DatabaseDimensions collection for this Database.
Id
Gets the object's string ID.
(Inherited from Meta.)
IsConnected
Returns whether the client is currently connected to this Database.
LastUpdated
Gets the DateTime this object was last updated. This refers to the client’s copy of the Object, not the server object.
(Inherited from Meta.)
LogTransaction
Gets/Sets whether Transaction Logging is enabled on the Database.
MetaType
Gets the MetaType of this object.
(Inherited from Meta.)
Name
Gets the object's string Name.
(Inherited from Meta.)
Security
Gets the Security object for the Database.
TypeHelper
Gets the TypeHelper for the Database.

Events

  NameDescription
OnClosed
.NET only. Fired when the Database is closed.
OnDeleted
.NET only. Fired when the client’s copy of the object is deleted.
(Inherited from INotifyObject.)
OnUpdated
.NET only. Fired when the client’s copy of the object is updated.
(Inherited from INotifyObject.)

See Also