VersionControlServer.SetPermissions Method

Sets the permissions for items in the repository.

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

Syntax

'Declaration
Public Function SetPermissions ( _
    securityChanges As SecurityChange() _
) As SecurityChange()
public SecurityChange[] SetPermissions(
    SecurityChange[] securityChanges
)
public:
array<SecurityChange^>^ SetPermissions(
    array<SecurityChange^>^ securityChanges
)
member SetPermissions : 
        securityChanges:SecurityChange[] -> SecurityChange[] 
public function SetPermissions(
    securityChanges : SecurityChange[]
) : SecurityChange[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.SecurityChange[]
An array of SecurityChange representing the successful changes to the server.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace