다음을 통해 공유


SubClassType (MDStore Interface)

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The SubClassType property of the MDStore interface contains the enumeration constant that identifies the subclass type of the object.

Applies To:clsAggregation, clsCube, clsDatabase, clsPartition

Data Type

SubClassTypes

Access

Read-only

주의

Objects of ClassType clsAggregation and clsDatabase can have a SubClassType property value of sbclsRegular. An object of ClassType clsCube can be of SubClassType sbclsRegular, sbclsVirtual, and sbclsLinked. An object of ClassType clsPartition can be of SubClassType sbclsRegular and sbclsRemote.

Examples

Checking the SubClassType Property of a Cube

Use the following code to check the SubClassType property of a cube:

'Assume an object (dsoCube) of ClassType clsCube exists.
If dsoCube.SubClassType = sbclsVirtual Then
    'Code to handle a virtual cube
Else
    'Code to handle a regular cube
End If

참고 항목

참조