Provides the execution context for the stored procedure.
Assembly: msmgdsrv (in msmgdsrv.dll)
Thetype exposes the following members.
|ClientCultureInfo||Gets the culture for the current client.|
|Cubes||Gets a collection of cubes that are available in the current database or context.|
|CurrentCube||Gets the current cube.|
|CurrentDatabaseName||Gets the current database name for the current session.|
|CurrentMiningModel||Gets the current mining model.|
|CurrentServerID||Gets the server identifier (server\instance) for the current session.|
|ExecuteForPrepare||Gets a value that indicates whether the stored procedure is being called for preparation purposes.|
|MiningModels||Gets the mining models in the current database.|
|MiningServices||Gets the mining services in the current database.|
|MiningStructures||Gets the mining structures in the current database.|
|Pass||Gets the pass number that the user-defined function (UDF) or stored procedure is running under.|
|CheckCancelled||Throws an exception if the query has timed out or been canceled by the user.|
|Equals||(Inherited from Object.)|
|Finalize||(Inherited from Object.)|
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
|MemberwiseClone||(Inherited from Object.)|
|ToString||(Inherited from Object.)|
|TraceEvent||Raises a trace event with the specified information.|
The object provides a set of static properties that enable stored procedures to obtain the current execution context. All Microsoft.AnalysisServices.AdomdServer metadata objects can be obtained through the object, and are read-only.