SharedResourceWebService4.TryRequestLock Method

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

Syntax

'Declaration
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Function TryRequestLock ( _
    resourceName As String, _
    instanceId As String, _
    requestedBy As String, _
    buildUri As String _
) As Boolean
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public bool TryRequestLock(
    string resourceName,
    string instanceId,
    string requestedBy,
    string buildUri
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
bool TryRequestLock(
    String^ resourceName, 
    String^ instanceId, 
    String^ requestedBy, 
    String^ buildUri
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member TryRequestLock : 
        resourceName:string * 
        instanceId:string * 
        requestedBy:string * 
        buildUri:string -> bool
public function TryRequestLock(
    resourceName : String, 
    instanceId : String, 
    requestedBy : String, 
    buildUri : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

SharedResourceWebService4 Class

Microsoft.TeamFoundation.Build.Server Namespace