MemberProperties 属性

Gets a MemberPropertyCollection that contains a collection of member properties for the Member.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public ReadOnly Property MemberProperties As MemberPropertyCollection
    Get
用法
Dim instance As Member
Dim value As MemberPropertyCollection

value = instance.MemberProperties
public MemberPropertyCollection MemberProperties { get; }
public:
property MemberPropertyCollection^ MemberProperties {
    MemberPropertyCollection^ get ();
}
member MemberProperties : MemberPropertyCollection
function get MemberProperties () : MemberPropertyCollection

属性值

类型:Microsoft.AnalysisServices.AdomdClient. . :: . .MemberPropertyCollection
A MemberPropertyCollection that contains a collection of member properties that is associated with the Member.

注释

Members have several intrinsic properties, such as Caption and UniqueName, that are implemented by the Member class. In addition, each member can be associated with one or more user-defined properties. These additional properties, which are called member properties, provide users with additional information about the member.

The MemberProperties property returns a collection of MemberProperty objects that represent the member properties that are associated with the Member. The actual contents of the collection depend on the source of the Member:

  • If the Member was referenced through a CubeDef in order to retrieve metadata from the server, the collection represents the member properties that are defined for the level of the member represented by the Member.

  • If the Member was referenced through a CellSet in order to retrieve metadata from a query, the collection represents the member properties that are retrieved for the set (or axis) that contains the member represented by the Member.

    注意注意

    This property is always Empty if the Member is populated through GetSchemaObject.