Context 클래스

Provides the execution context for the stored procedure.

상속 계층

System.Object
  Microsoft.AnalysisServices.AdomdServer.Context

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public NotInheritable Class Context
‘사용 방법
Dim instance As Context
public sealed class Context
public ref class Context sealed
[<SealedAttribute>]
type Context =  class end
public final class Context

Context 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 Context Initializes a new instance of the Context class.

맨 위로 이동

속성

  이름 설명
공용 속성정적 멤버 ClientCultureInfo Gets the culture for the current client.
공용 속성정적 멤버 Cubes Gets a collection of cubes that are available in the current database or context.
공용 속성정적 멤버 CurrentConnection Gets the current connection.
공용 속성정적 멤버 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.
공용 속성정적 멤버 Server Gets the server object.

맨 위로 이동

메서드

  이름 설명
공용 메서드정적 멤버 CheckCancelled Throws an exception if the query has timed out or been canceled by the user.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)
공용 메서드정적 멤버 TraceEvent Raises a trace event with the specified information.

맨 위로 이동

주의

The Context 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 Context object, and are read-only.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.AnalysisServices.AdomdServer 네임스페이스