Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SubClassType (MDStore Interface)

NoteNote

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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

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.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.