Classe NamedSet
Represents a named set for a given cube.
Hierarquia de herança
System.Object
Microsoft.AnalysisServices.AdomdServer.NamedSet
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (em msmgdsrv.dll)
Sintaxe
'Declaração
Public NotInheritable Class NamedSet _
Implements IDisposable, IMetadataObject
'Uso
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
O tipo NamedSet expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
Description | Gets the description of the NamedSet. | |
Expression | Gets the MDX set expression that defines the NamedSet. | |
Name | Gets the name of the NamedSet. | |
ParentCube | Gets a CubeDef that contains the NamedSet. | |
Properties | Gets a PropertyCollection that contains the properties associated with the NamedSet. | |
UniqueName | Gets the unique name of the NamedSet. |
Início
Métodos
Nome | Descrição | |
---|---|---|
{dtor} | Releases the unmanaged resources used by the NamedSet. | |
Dispose | Releases the unmanaged resources used by the NamedSet. | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Comentários
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.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.