Share via


Context Members

Include Protected Members
Include Inherited Members

Provides the execution context for the stored procedure.

The Context type exposes the following members.

Constructors

  Name Description
Public method Context()

Top

Methods

  Name Description
Public methodStatic member CheckCancelled() Throws an exception if the query has timed out or been canceled by the user.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Object.)
Public methodStatic member TraceEvent(Int32, Int32, String) Raises a trace event with the specified information.

Top

Properties

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

Top