共用方式為


SPPermission.Parent Property

NOTE: This API is now obsolete.

Gets the parent object for the specified permission object, which can be a list or a Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use the SPRoleAssignment class instead")> _
Public ReadOnly Property Parent As Object
    Get
'Usage
Dim instance As SPPermission
Dim value As Object

value = instance.Parent
[ObsoleteAttribute("Use the SPRoleAssignment class instead")]
public Object Parent { get; }

Property Value

Type: System.Object
The parent object for the permission object.

See Also

Reference

SPPermission Class

SPPermission Members

Microsoft.SharePoint Namespace