共用方式為


Workspace.HasUsePermission Property

Gets a flag that indicates whether the AuthorizedUser has Use 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 HasUsePermission As Boolean
public bool HasUsePermission { get; }
public:
property bool HasUsePermission {
    bool get ();
}
member HasUsePermission : bool with get
function get HasUsePermission () : boolean

Property Value

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

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace