SecurityWebService.RemoveAccessControlEntries 方法
,只要它們存在,這個類別會在指定之語彙基元的系統移除存取控制項目。
命名空間: Microsoft.TeamFoundation.Framework.Server.WebServices
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function RemoveAccessControlEntries ( _
namespaceId As Guid, _
token As String, _
identities As List(Of IdentityDescriptor) _
) As Boolean
[WebMethodAttribute]
public bool RemoveAccessControlEntries(
Guid namespaceId,
string token,
List<IdentityDescriptor> identities
)
參數
- namespaceId
型別:System.Guid
進行這些變更的命名空間。
- token
型別:System.String
移除項目的語彙基元。
- identities
型別:System.Collections.Generic.List<IdentityDescriptor>
識別使用權限語彙基元從移除。
傳回值
型別:System.Boolean
如果已移除,則為 True 值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。