共用方式為


SPRoleAssignment.Update method

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub Update
'用途
Dim instance As SPRoleAssignment

instance.Update()
public void Update()

Exceptions

Exception Condition
ArgumentException

ParentSecurableObject屬性是 null 。

備註

您只可以屬於受限於實作ISecurableObject介面 (例如, SPWeb) 的Microsoft SharePoint Foundation物件SPRoleAssignmentCollectionSPRoleAssignment物件呼叫Update方法。

請參閱

參照

SPRoleAssignment class

SPRoleAssignment members

Microsoft.SharePoint namespace