共用方式為


Workspace.HasCheckInPermission Property

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

Property Value

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

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace