Repository.UpdateItemSecurity Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
‘선언
<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[]
- failures
Type: System.Collections.Generic.List<Failure>%
Return Value
Type: System.Collections.Generic.List<SecurityChange>
.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.