共用方式為


TeamProjectFolderOptions.ExclusiveCheckout Property

The ExclusiveCheckout option allows the creator to require all pending changes on items be exclusive, not letting more than a single user to pend chanes at the same time.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property ExclusiveCheckout As Boolean
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public bool ExclusiveCheckout { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property bool ExclusiveCheckout {
    bool get ();
    void set (bool value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member ExclusiveCheckout : bool with get, set
function get ExclusiveCheckout () : boolean 
function set ExclusiveCheckout (value : boolean)

Property Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamProjectFolderOptions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace