Método Repository.UpdateItemSecurity
Altera a informações de segurança de um item.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (em Microsoft.TeamFoundation.VersionControl.Server.dll)
Sintaxe
'Declaração
<WebMethodAttribute> _
Public Function UpdateItemSecurity ( _
workspaceName As String, _
workspaceOwner As String, _
changes As SecurityChange(), _
<OutAttribute> ByRef failures As List(Of Failure) _
) As List(Of SecurityChange)
[WebMethodAttribute]
public List<SecurityChange> UpdateItemSecurity(
string workspaceName,
string workspaceOwner,
SecurityChange[] changes,
out List<Failure> failures
)
Parâmetros
- workspaceName
Tipo: System.String
- workspaceOwner
Tipo: System.String
- changes
Tipo: array<Microsoft.TeamFoundation.VersionControl.Server.SecurityChange[]
Matriz de alterações para aplicar.
- failures
Tipo: System.Collections.Generic.List<Failure>%
Falhas que ocorrem aplicando cada alteração.
Valor de retorno
Tipo: System.Collections.Generic.List<SecurityChange>
Matriz de alterações com êxito.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.