Click or drag to resize

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
)

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: Boolean
True if the object is checked out
See Also