Leadtools.Dicom.WCF Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetUserCacheExpirationDuration Method
See Also 
Leadtools.Dicom.WCF Namespace > IManageService Interface : SetUserCacheExpirationDuration Method



username
A String representing the user name.
days
the number of days an item can stay in the user cache.
extraData
User custom data.
username
A String representing the user name.
days
the number of days an item can stay in the user cache.
extraData
User custom data.
Update the time the cache items will be expired for a user.

Syntax

Visual Basic (Declaration) 
<OperationContractAttribute()>
Overridable Sub SetUserCacheExpirationDuration( _
   ByVal username As String, _
   ByVal days As Integer, _
   ByVal extraData As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As IManageService
Dim username As String
Dim days As Integer
Dim extraData As String
 
instance.SetUserCacheExpirationDuration(username, days, extraData)
C# 
[OperationContractAttribute()]
virtual void SetUserCacheExpirationDuration( 
   string username,
   int days,
   string extraData
)
C++/CLI 
[OperationContractAttribute()]
virtual void SetUserCacheExpirationDuration( 
   String^ username,
   int days,
   String^ extraData
) 

Parameters

username
A String representing the user name.
days
the number of days an item can stay in the user cache.
extraData
User custom data.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also

SetUserCacheExpirationDuration requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features