 | UpstreamResourceCheckoutServiceIsCheckedoutT Method |
Attempts to perform a soft checkout - this is equivalent to attempting to take a lock
but not actually taking it
Namespace: SanteDB.Client.Upstream.RepositoriesAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic bool IsCheckedout<T>(
Guid key,
out IIdentity currentOwner
)
Public Function IsCheckedout(Of T) (
key As Guid,
<OutAttribute> ByRef currentOwner As IIdentity
) As Boolean
public:
generic<typename T>
virtual bool IsCheckedout(
Guid key,
[OutAttribute] IIdentity^% currentOwner
) sealed
abstract IsCheckedout :
key : Guid *
currentOwner : IIdentity byref -> bool
override IsCheckedout :
key : Guid *
currentOwner : IIdentity byref -> bool Parameters
- key Guid
- The key of the object referenced by T
- currentOwner IIdentity
- The current owner of the lock if one exists
Type Parameters
- T
- The type of object to check
Return Value
BooleanTrue if the object is checked out
Implements
IResourceCheckoutServiceIsCheckedoutT(Guid, IIdentity)
See Also