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
- workspaceName
 Type: System.String
- workspaceOwner
 Type: System.String
- changes 
 Type: array<Microsoft.TeamFoundation.VersionControl.Server.SecurityChange[]- Array of changes to apply. 
- failures 
 Type: System.Collections.Generic.List<Failure>%- Failures that occur applying each change. 
Return Value
Type: System.Collections.Generic.List<SecurityChange>
Array of successful changes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.