Export (0) Print
Expand All

NamedSet Class

Represents a named set for a given cube.

Object
  Microsoft.AnalysisServices.AdomdServer.NamedSet

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public sealed class NamedSet : IDisposable, 
	IMetadataObject

The NamedSet type exposes the following members.

  NameDescription
Public propertyDescriptionGets the description of the NamedSet.
Public propertyExpressionGets the MDX set expression that defines the NamedSet.
Public propertyNameGets the name of the NamedSet.
Public propertyParentCubeGets a CubeDef that contains the NamedSet.
Public propertyPropertiesGets a PropertyCollection that contains the properties associated with the NamedSet.
Public propertyUniqueNameGets the unique name of the NamedSet.
Top

  NameDescription
Public method{dtor}Releases the unmanaged resources used by the NamedSet.
Public methodDisposeReleases the unmanaged resources used by the NamedSet.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

A named set is a persisted set expression, which is associated with an alias and defined as part of the structure of a cube. In Multidimensional Expressions (MDX), a set expression can be a lengthy and complex declaration. A named set makes it easier to manage a set expression that is used regularly in MDX or XML for Analysis queries that involve the cube and provides a way of maintaining the set expression independently of the queries that use it.

A NamedSet encapsulates the alias and set expression of a named set, so that the metadata of the named set can be examined and incorporated into queries.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft