इसके माध्यम से साझा किया गया


Context Members

Provides the execution context for the stored procedure.

The following tables list the members exposed by the Context type.

Public Properties

  Name Description
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif ClientCultureInfo Gets the culture for the current client.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif Cubes Gets a collection of cubes that are available in the current database or context.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif CurrentCube Gets the current cube.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif CurrentDatabaseName Gets the current database name for the current session.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif CurrentMiningModel Gets the current mining model.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif CurrentServerID Gets the server identifier (server\instance) for the current session.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif ExecuteForPrepare Gets a value that indicates whether the stored procedure is being called for preparation purposes.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif MiningModels Gets the mining models in the current database.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif MiningServices Gets the mining services in the current database.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif MiningStructures Gets the mining structures in the current database.
ms143628.pubproperty(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif Pass Gets the pass number that the user-defined function (UDF) or stored procedure is running under.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms143628.pubmethod(en-US,SQL.90).gif {dtor} Releases all resources used by the Context.
ms143628.pubmethod(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif CheckCancelled Throws an exception if the query has timed out or been canceled by the user.
ms143628.pubmethod(en-US,SQL.90).gif Dispose Releases all resources used by the Context.
ms143628.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms143628.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms143628.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms143628.pubmethod(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms143628.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
ms143628.pubmethod(en-US,SQL.90).gifms143628.static(en-US,SQL.90).gif TraceEvent Raises a trace event with the specified information.

Top

Protected Methods

  Name Description
ms143628.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms143628.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

Context Class
Microsoft.AnalysisServices.AdomdServer Namespace