Compartilhar via


Propriedade Type

Gets the member type of the Member.

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

Sintaxe

'Declaração
Public ReadOnly Property Type As MemberTypeEnum
    Get
'Uso
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

Valor da propriedade

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

Exceções

Exceção Condição
System..::..InvalidOperationException

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

Comentários

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.