共用方式為


Workspace.HasUsePermission Property

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

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

Property Value

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

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace