TeamFoundationLockingService.AcquireLocks-Methode (TeamFoundationRequestContext, TeamFoundationLockMode, Int32, Boolean, array<String[])
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function AcquireLocks ( _
requestContext As TeamFoundationRequestContext, _
lockMode As TeamFoundationLockMode, _
lockTimeout As Integer, _
throwOnTimeout As Boolean, _
ParamArray resources As String() _
) As TeamFoundationLock
public TeamFoundationLock AcquireLocks(
TeamFoundationRequestContext requestContext,
TeamFoundationLockMode lockMode,
int lockTimeout,
bool throwOnTimeout,
params string[] resources
)
Parameter
- requestContext
Typ: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- lockTimeout
Typ: System.Int32
- throwOnTimeout
Typ: System.Boolean
- resources
Typ: array<System.String[]
Rückgabewert
Typ: Microsoft.TeamFoundation.Framework.Server.TeamFoundationLock
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.