Type 屬性
Gets the member type of the Member.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.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.AdomdServer. . :: . .MemberTypeEnum
A MemberTypeEnum enumeration value that represents the member type of the Member.
例外狀況
例外狀況 | 條件 |
---|---|
[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. |
備註
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.