共用方式為


TeamProject.ExclusiveCheckout Property

Gets or sets a flag that describes whether files modified in this team project will be exclusively locked.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Property ExclusiveCheckout As Boolean
public bool ExclusiveCheckout { get; set; }
public:
property bool ExclusiveCheckout {
    bool get ();
    void set (bool value);
}
member ExclusiveCheckout : bool with get, set
function get ExclusiveCheckout () : boolean 
function set ExclusiveCheckout (value : boolean)

Property Value

Type: System.Boolean
True if any item in this team project is locked for every pending change.
False if a pending change does not affect the lock status of items.

.NET Framework Security

See Also

Reference

TeamProject Class

Microsoft.TeamFoundation.VersionControl.Client Namespace