Type 属性

Gets the member type of the Member.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.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.AdomdClient. . :: . .MemberTypeEnum
A MemberTypeEnum enumeration value that represents the member type of the Member.

异常

异常 条件
System..::..InvalidOperationException

This property was not explicitly requested in the query, and was populated by a CellSet.

注释

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.