Sdílet prostřednictvím


NamedSet Class

Represents a named set for a given cube.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.NamedSet

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

Syntax

'Declaration
Public NotInheritable Class NamedSet _
    Implements IDisposable, IMetadataObject
'Usage
Dim instance As NamedSet
public sealed class NamedSet : IDisposable, 
    IMetadataObject
public ref class NamedSet sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type NamedSet =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class NamedSet implements IDisposable, IMetadataObject

The NamedSet type exposes the following members.

Properties

  Name Description
Public property Description Gets the description of the NamedSet.
Public property Expression Gets the MDX set expression that defines the NamedSet.
Public property Name Gets the name of the NamedSet.
Public property ParentCube Gets a CubeDef that contains the NamedSet.
Public property Properties Gets a PropertyCollection that contains the properties associated with the NamedSet.
Public property UniqueName

Top

Methods

  Name Description
Public method {dtor} Releases the unmanaged resources used by the NamedSet.
Public method Dispose Releases the unmanaged resources used by the NamedSet.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.