Type 属性

Gets the member type of the Member.

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

语法

声明
Public ReadOnly Property Type As MemberTypeEnum
    Get
用法
Dim instance As Member
Dim value As MemberTypeEnum

value = instance.Type
public MemberTypeEnum Type { get; }
public:
property MemberTypeEnum Type {
    MemberTypeEnum get ();
}
member Type : MemberTypeEnum
function get Type () : MemberTypeEnum

属性值

类型:Microsoft.AnalysisServices.AdomdServer. . :: . .MemberTypeEnum
A MemberTypeEnum enumeration value that represents the member type of the Member.

异常

异常 条件
[InvalidOperationException]

This property was not explicitly requested in the query, and was populated by a CellSet. For more information about this exception, see InvalidOperationException Class.

注释

Unless this property has been explicitly requested in the query, accessing this property raises an InvalidOperationException exception if the Member is populated by a CellSet.