Do we have a lock for a particular entity

Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Function HasLock( _ 
ByVal type As EntityType, _ 
ByVal id As EntityID
) As Boolean
This language is not supported or no code example is available.
bool HasLock( 
EntityType type
EntityID id 
)
This language is not supported or no code example is available.
 
bool HasLock( 
EntityType type
EntityID^ id 
)
This language is not supported or no code example is available.
function HasLock( 
type : EntityType
id : EntityID 
) : boolean;
This language is not supported or no code example is available.

Parameters

type
Type: EntityType

the type of entity

id
Type: EntityID

the id of the entity

Return Value

Type: bool

whether or not we have a lock

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1