Partilhar via


Repository.UpdateItemSecurity Method

Modifies an item's security information.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<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
)
[WebMethodAttribute]
public:
List<SecurityChange^>^ UpdateItemSecurity(
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<SecurityChange^>^ changes, 
    [OutAttribute] List<Failure^>^% failures
)
[<WebMethodAttribute>]
member UpdateItemSecurity : 
        workspaceName:string * 
        workspaceOwner:string * 
        changes:SecurityChange[] * 
        failures:List<Failure> byref -> List<SecurityChange> 
public function UpdateItemSecurity(
    workspaceName : String, 
    workspaceOwner : String, 
    changes : SecurityChange[], 
    failures : List<Failure>
) : List<SecurityChange>

Parameters

Return Value

Type: System.Collections.Generic.List<SecurityChange>
Array of successful changes.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace