Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Verifies whether the AuthorizedUser object has the specified WorkspacePermissions objects for this workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function HasWorkspacePermission ( _
toCheck As WorkspacePermissions _
) As Boolean
public bool HasWorkspacePermission(
WorkspacePermissions toCheck
)
public:
bool HasWorkspacePermission(
WorkspacePermissions toCheck
)
member HasWorkspacePermission :
toCheck:WorkspacePermissions -> bool
public function HasWorkspacePermission(
toCheck : WorkspacePermissions
) : boolean
Parameters
toCheck
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspacePermissionsWorkspacePermissions to check.
Return Value
Type: System.Boolean
True if the AuthorizedUser object has the requested permissions; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.