共用方式為


SPPolicyRoleCollection.DeleteById method

會刪除具有指定之 ID 的原則角色

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

Syntax

'宣告
Public Sub DeleteById ( _
    id As Guid _
)
'用途
Dim instance As SPPolicyRoleCollection
Dim id As Guid

instance.DeleteById(id)
public void DeleteById(
    Guid id
)

參數

  • id
    Type: System.Guid

    System.Guid指定原則角色的 GUID。

請參閱

參照

SPPolicyRoleCollection class

SPPolicyRoleCollection members

Microsoft.SharePoint.Administration namespace