NamedSet 类
Represents a named set for a given cube.
继承层次结构
System. . :: . .Object
Microsoft.AnalysisServices.AdomdServer..::..NamedSet
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
Public NotInheritable Class NamedSet _
Implements IDisposable, IMetadataObject
用法
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
NamedSet 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
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 |
页首
方法
名称 | 说明 | |
---|---|---|
{dtor} | Releases the unmanaged resources used by the NamedSet. | |
Dispose | Releases the unmanaged resources used by the NamedSet. | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。