Provides the execution context for the stored procedure.
The following tables list the members exposed by the Context type.
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) .gif) | ClientCultureInfo | Gets the culture for the current client. | 
| .gif) .gif) | Cubes | Gets a collection of cubes that are available in the current database or context. | 
| .gif) .gif) | CurrentCube | Gets the current cube. | 
| .gif) .gif) | CurrentDatabaseName | Gets the current database name for the current session. | 
| .gif) .gif) | CurrentMiningModel | Gets the current mining model. | 
| .gif) .gif) | CurrentServerID | Gets the server identifier (server\instance) for the current session. | 
| .gif) .gif) | ExecuteForPrepare | Gets a value that indicates whether the stored procedure is being called for preparation purposes. | 
| .gif) .gif) | MiningModels | Gets the mining models in the current database. | 
| .gif) .gif) | MiningServices | Gets the mining services in the current database. | 
| .gif) .gif) | MiningStructures | Gets the mining structures in the current database. | 
| .gif) .gif) | Pass | Gets the pass number that the user-defined function (UDF) or stored procedure is running under. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | {dtor} | Releases all resources used by the Context. | 
| .gif) .gif) | CheckCancelled | Throws an exception if the query has timed out or been canceled by the user. | 
| .gif) | Dispose | Releases all resources used by the Context. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Object ) | 
| .gif) .gif) | TraceEvent | Raises a trace event with the specified information. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
Context Class
Microsoft.AnalysisServices.AdomdServer Namespace