Condividi tramite


Proprietà Type

Gets the member type of the Member.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

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

Valore proprietà

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

Eccezioni

Eccezione Condizione
System..::..InvalidOperationException

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

Osservazioni

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.