共用方式為


Workspace.HasReadPermission Property

Gets a flag describing 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

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

Property Value

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

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace