SPPolicyRoleCollection.Delete method (String)
會刪除具有指定名稱的原則角色。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Delete ( _
name As String _
)
'用途
Dim instance As SPPolicyRoleCollection
Dim name As String
instance.Delete(name)
public void Delete(
string name
)
參數
name
Type: System.String字串,包含要刪除之原則角色的名稱。
備註
刪除原則角色時,也會刪除該定義的所有原則繫結。