Member.Parent Property

Gets a reference to the parent Member, if applicable, that contains the Member.

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
Public ReadOnly Property Parent As Member
public Member Parent { get; }
public:
property Member^ Parent {
    Member^ get ();
}
/** @property */
public Member get_Parent ()
public function get Parent () : Member

属性值

A Member that contains the parent member of the Member.

异常

异常类型 条件
System.InvalidOperationException

The provider did not provide cube information for CellSet members.

备注

This property may throw a NotSupportedException exception for CellSet members if the provider did not provide cube information.

ms135366.note(zh-cn,SQL.90).gif注意:
Accessing this property may require a round-trip to the server.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Member Class
Member Members
Microsoft.AnalysisServices.AdomdClient Namespace