SPPolicyRoleCollection.Delete 方法 (Int32)

删除集合中的指定索引处的策略角色。

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

语法

声明
Public Sub Delete ( _
    index As Integer _
)
用法
Dim instance As SPPolicyRoleCollection
Dim index As Integer

instance.Delete(index)
public void Delete(
    int index
)

参数

  • index
    类型:System.Int32

    32 位整数,它指定要删除的策略角色的索引。

备注

当删除一个策略角色时,也将删除该定义的所有策略绑定。

另请参阅

引用

SPPolicyRoleCollection 类

SPPolicyRoleCollection 成员

Delete 重载

Microsoft.SharePoint.Administration 命名空间