Share via


Member.Type Property

Gets the member type of the Member.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Property Type As MemberTypeEnum
    Get
'Usage
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

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.MemberTypeEnum
A MemberTypeEnum enumeration value that represents the member type of the Member.

Exceptions

Exception Condition
System.InvalidOperationException

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

Remarks

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.