Поделиться через


PermissionChange Constructor

Initializes a new PermissionChange instance.

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

Syntax

'Declaration
Public Sub New ( _
    item As String, _
    identity As String, _
    allows As String(), _
    denies As String(), _
    removes As String() _
)
public PermissionChange(
    string item,
    string identity,
    string[] allows,
    string[] denies,
    string[] removes
)
public:
PermissionChange(
    String^ item, 
    String^ identity, 
    array<String^>^ allows, 
    array<String^>^ denies, 
    array<String^>^ removes
)
new : 
        item:string * 
        identity:string * 
        allows:string[] * 
        denies:string[] * 
        removes:string[] -> PermissionChange
public function PermissionChange(
    item : String, 
    identity : String, 
    allows : String[], 
    denies : String[], 
    removes : String[]
)

Parameters

  • item
    Type: System.String

    The item for which to change permissions.

  • identity
    Type: System.String

    The identity for which permissions will be changed.

  • allows
    Type: array<System.String[]

    List of permissions to allow.

  • denies
    Type: array<System.String[]

    List of permissions to deny.

  • removes
    Type: array<System.String[]

    List of permissions to remove.

.NET Framework Security

See Also

Reference

PermissionChange Class

Microsoft.TeamFoundation.VersionControl.Client Namespace