Megosztás a következőn keresztül:


Workspace.HasReadPermission Property

Gets a flag that indicates whether the AuthorizedUser has Read permissions for this workspace.

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

Syntax

'Declaration
Public ReadOnly Property HasReadPermission As Boolean
public bool HasReadPermission { get; }
public:
property bool HasReadPermission {
    bool get ();
}
member HasReadPermission : bool with get
function get HasReadPermission () : boolean

Property Value

Type: System.Boolean
True if the AuthorizedUser has Read permissions for this workspace; otherwise, false.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace