| IResourceCheckoutServiceIsCheckedoutT Method |
Attempts to perform a soft checkout - this is equivalent to attempting to take a lock
but not actually taking it
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax bool IsCheckedout<T>(
Guid key,
out IIdentity currentOwner
)
Function IsCheckedout(Of T) (
key As Guid,
<OutAttribute> ByRef currentOwner As IIdentity
) As Boolean
generic<typename T>
bool IsCheckedout(
Guid key,
[OutAttribute] IIdentity^% currentOwner
)
abstract IsCheckedout :
key : Guid *
currentOwner : IIdentity byref -> bool
Parameters
- key
- Type: SystemGuid
The key of the object referenced by T - currentOwner
- Type: System.Security.PrincipalIIdentity
The current owner of the lock if one exists
Type Parameters
- T
- The type of object to check
Return Value
Type:
BooleanTrue if the object is checked out
See Also