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
'Déclaration
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
- securityChanges
Type: array<Microsoft.TeamFoundation.VersionControl.Client.SecurityChange[]
An array of SecurityChange objects to send to the server.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.SecurityChange[]
An array of SecurityChange representing the successful changes to the server.
.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.