共用方式為


SPRoleDefinitionBindingCollection.RemoveAll method

從繫結集合中移除所有角色定義。

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

Syntax

'宣告
Public Sub RemoveAll
'用途
Dim instance As SPRoleDefinitionBindingCollection

instance.RemoveAll()
public void RemoveAll()

請參閱

參照

SPRoleDefinitionBindingCollection class

SPRoleDefinitionBindingCollection members

Microsoft.SharePoint namespace