An object of ClassType clsServer implements the following methods.
| Method | Description |
|---|---|
| CloseServer | Releases all server resources and sets the object’s State to stateUnknown. |
| Connect | Connects to an OLAP server service (MSSQLServerOLAPService). |
| CreateObject | Creates an object. |
| LockObject | Requests the OLAP server lock a specified object. |
| Refresh | Reads all current metadata from the repository and modifies all objects in the object model of a session to match the current repository state. |
| UnlockAllObjects | Removes all locks issued by the current session from objects in the server’s object model. |
| UnlockObject | Removes a lock from a specified object. |
| Update | Updates an object definition in the metadata repository. |