Partilhar via


SPPersistedObject.Parent Property

Gets the parent in the logical hierarchy of the configuration object tree.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Parent As SPPersistedObject
    Get
'Usage
Dim instance As SPPersistedObject
Dim value As SPPersistedObject

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

Property Value

Type: Microsoft.SharePoint.Administration.SPPersistedObject
An SPPersistedObject object that represents the parent in the logical hierarchy of the configuration object tree.

Remarks

Note that the SPFarm object is located at the root of the tree and is its own parent.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace