PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Tries to set an item lock for the given item.

Namespace: Smartsite.Core
Assembly:  Smartsite.Runtime (in Smartsite.Runtime.dll)

Syntax

C#Copy imageCopy Code
public static bool TrySet(
	 user,
	int itemNumber,
	string actionCode,
	string clientGuid,
	out  itemLock
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function TrySet ( _
	user As , _
	itemNumber As Integer, _
	actionCode As , _
	clientGuid As , _
	<> ByRef itemLock As  _
) As 

Parameters

user
User
The user.
itemNumber
Int32
The item number.
actionCode
String
The action code.
clientGuid
String
The client GUID.
itemLock
ItemLock%
The item lock.

Return Value

See Also

ItemLocks Class
Smartsite.Core Namespace
Advanced