Поделиться через


SubClassType (MDStore Interface)

ms133437.note(ru-ru,SQL.90).gifПримечание.
  В следующей версии 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

См. также

Справочник

MDStore Interface

Справка и поддержка

Получение помощи по SQL Server 2005