共用方式為


ExtendedItem.LockOwner Property

Name of the user who holds the lock on this item (if any).

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 LockOwner As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string LockOwner { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ LockOwner {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member LockOwner : string with get, set
function get LockOwner () : String 
function set LockOwner (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

ExtendedItem Class

Microsoft.TeamFoundation.VersionControl.Server Namespace