The following table lists the methods exposed in the various objects within the OLAP server.
Method | Applies to | Interface | Description |
---|---|---|---|
Add | Collections | n/a | Adds an existing object to a collection. |
Add | CustomProperties | n/a | Adds a Property object to a CustomProperties collection. |
AddNew | Collections | n/a | Creates and adds a new object to a collection. |
AddExistingAggregation | clsPartitionAnalyzer | n/a | Adds an existing aggregation to the DesignedAggregations collection. |
AddGoalQuery | clsPartitionAnalyzer | n/a | Adds a particular query that is to be optimized. |
BeginTrans | clsDatabase | MDStore | Begins the transaction on the database. |
Clear | CustomProperties | n/a | Clears all Property objects from a CustomProperties collection. |
Clone | clsDatabaseCommand | Command | Copies an existing object to a target object of the same class type. |
Clone | clsDatabaseDimension | Dimension | Creates a copy of the database dimension. |
Clone | clsAggregation clsCube clsDatabase clsPartition |
MDStore | Creates and returns a copy of an MDStore object. |
Clone | clsDatabaseRole | Role | Creates a copy of a database role. |
Clone | clsDatasource | n/a | Copies a clsDatasource object to another clsDatasource object. |
CloseAggregationAnalysis | clsPartitionAnalyzer | n/a | Closes this clsPartitionAnalyzer session and clears out the objects used during the analysis. |
CloseServer | clsServer | n/a | Releases all server resources and sets the object’s State to stateUnknown. |
CommitTrans | clsDatabase | MDStore | Commits the transaction on the database. |
Connect | clsServer | n/a | Connects to an OLAP server service (MSSQLServerOLAPService). |
CreateObject | clsServer | n/a | Creates an object. |
Find | CustomProperties | n/a | Retrieves a Property object from a CustomProperties collection. |
InitializeDesign | clsPartitionAnalyzer | n/a | Checks the partition structure to ensure that clsPartitionAnalyzer can be run and initializes the objects necessary to perform the analysis. |
IsConnected | clsDatasource | n/a | Connects to a data source. Returns True if connected; False if unable to connect. |
Item | Collections | Locates an item in a collection. | |
Item | CustomProperties | Returns an instance of an item in the collection. | |
LockObject | clsDatabaseCommand | Command | Locks an object. |
LockObject | clsDatasource | n/a | Locks a clsDatasource object. |
LockObject | clsDatabaseDimension | Dimension | Locks the database dimension. |
LockObject | clsCube clsDatabase clsPartition |
MDStore | Locks an object. |
LockObject | clsDatabaseRole | Role | Locks an object. |
LockObject | clsServer | n/a | Requests the OLAP server lock a specified object. |
Merge | clsPartition | MDStore | Merges two partitions. |
NextAnalysisStep | clsPartitionAnalyzer | n/a | Adds new aggregations to the DesignedAggregations collection and calculates the incremental performance gained versus additional aggregation storage requirements. |
OpenQueryLogRecordset | clsCubeAnalyzer | n/a | Open a query log recordset. |
PrepareGoalQueries | clsPartitionAnalyzer | n/a | Prepares the GoalQueries that were entered using the AddGoalQuery method for use in this analysis session. |
Process | clsDatabaseDimension | Dimension | Processes a dimension. |
Process | clsCube clsDatabase clsPartition |
MDStore | Processes a store. |
Refresh | clsServer | n/a | Reads all current metadata from the repository and modifies all objects in the object model of a session to match the current repository state. |
Remove | Collections | n/a | Removes an object from a collection. |
Remove | CustomProperties | n/a | Removes a Property object from a CustomProperties collection. |
Rollback | clsDatabase | MDStore | Rolls back the transaction on the database. |
SetPermissions | clsCubeRole | Role | Sets the permissions for a cube role for a given key. |
UnlockAllObjects | clsServer | n/a | Unlocks all previously locked objects. |
UnlockObject | clsDatabaseCommand | Command | Unlocks a previously locked object. |
UnlockObject | clsDatabaseDimension | Dimension | Unlocks a previously locked object. |
UnlockObject | clsCube clsDatabase clsPartition |
MDStore | Unlocks a previously locked object. |
UnlockObject | clsDatasource | n/a | Unlocks a previously locked clsDatasource object. |
UnlockObject | clsServer | n/a | Unlocks a previously locked object. |
UnlockObject | clsDatabaseRole | Role | Unlocks a previously locked object. |
Update | clsDatabaseCommand | Command | Updates the database command's definition in the metadata repository. |
Update | clsDatasource | n/a | Updates the clsDatasource object definition in the metadata repository. |
Update | clsDatabaseDimension | Dimension | Updates the definition of the database dimension in the metadata repository. |
Update | clsCube clsDatabase clsPartition |
MDStore | Updates an object definition in the metadata repository. |
Update | clsServer | n/a | Updates an object definition in the metadata repository. |
Update | clsDatabaseRole | Role | Updates the definition of the database role in the metadata repository. |