Partager via


SharedResourceWebService4.TryRequestLock, méthode

Espace de noms :  Microsoft.TeamFoundation.Build.Server
Assembly :  Microsoft.TeamFoundation.Build.Server (dans Microsoft.TeamFoundation.Build.Server.dll)

Syntaxe

'Déclaration
<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
)

Paramètres

Valeur de retour

Type : System.Boolean
retourne Boolean ;

Sécurité .NET Framework

Voir aussi

Référence

SharedResourceWebService4 Classe

Microsoft.TeamFoundation.Build.Server, espace de noms