SPRoleAssignmentCollection.Parent 属性

请注意:此 API 现在已过时。

Gets the parent object that controls the permissions for the object to which the role assignments apply.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<ObsoleteAttribute("Use ParentSecurableObject instead")> _
Public ReadOnly Property Parent As ISecurableObject
    Get
用法
Dim instance As SPRoleAssignmentCollection
Dim value As ISecurableObject

value = instance.Parent
[ObsoleteAttribute("Use ParentSecurableObject instead")]
public ISecurableObject Parent { get; }

属性值

类型:Microsoft.SharePoint.ISecurableObject
The parent object.

备注

The Parent property can return an SPWeb, SPList, or SPListItem object.

另请参阅

引用

SPRoleAssignmentCollection 类

SPRoleAssignmentCollection 成员

Microsoft.SharePoint 命名空间