次の方法で共有


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)

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