Share via


Member.Type Property

Gets the member type of the Member.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.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.AdomdServer.MemberTypeEnum
A MemberTypeEnum enumeration value that represents the member type of the Member.

Exceptions

Exception Condition
[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.

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.