共用方式為


Member.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.

請參閱

參考

Member 類別

Microsoft.AnalysisServices.AdomdClient 命名空間