共用方式為


SPPersistedObject.Parent property

取得父項的組態物件樹狀目錄之邏輯階層中。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Parent As SPPersistedObject
    Get
'用途
Dim instance As SPPersistedObject
Dim value As SPPersistedObject

value = instance.Parent
public SPPersistedObject Parent { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPPersistedObject
SPPersistedObject物件所代表的父物件的組態物件樹狀目錄之邏輯階層中。

備註

請注意SPFarm物件位於樹狀目錄的根目錄,其本身的父系。

請參閱

參照

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace