SPPolicyRoleCollection.Delete method (Int32)
會刪除集合中的指定索引處的原則角色。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Delete ( _
index As Integer _
)
'用途
Dim instance As SPPolicyRoleCollection
Dim index As Integer
instance.Delete(index)
public void Delete(
int index
)
參數
index
Type: System.Int3232 位元整數,會指定要刪除之原則角色的索引。
備註
刪除原則角色時,也會刪除該定義的所有原則繫結。