SPRoleAssignmentCollection.Parent property
NOTE: This API is now obsolete.
取得控制角色指派所套用的物件的權限的父物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<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; }
Property value
Type: Microsoft.SharePoint.ISecurableObject
父物件。
備註
Parent屬性可傳回一個SPWeb、 SPList或SPListItem物件。
請參閱
參照
SPRoleAssignmentCollection class