Click or drag to resize
ItemExtensionsFetchLockStatus Method
Retrieve the lock status from the database

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public static LockStatusType FetchLockStatus(
	this IReadOnlyItem item,
	IConnection conn
)

Parameters

item
Type: Innovator.ClientIReadOnlyItem
conn
Type: Innovator.ClientIConnection

Return Value

Type: LockStatusType

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
If the item is editable, the locked_by_id property will be updated
See Also