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.GuidSystem.Guid指定原則角色的 GUID。