Freigeben über


SharedResourceWebService4.TryRequestLock-Methode

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

Syntax

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

Parameter

Rückgabewert

Typ: System.Boolean
Gibt Boolean zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

SharedResourceWebService4 Klasse

Microsoft.TeamFoundation.Build.Server-Namespace