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



username
A System.String representing the user name.
days
The number of days an item can stay in the user cache.
extraData
User custom data.
username
A System.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()>
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()]
void SetUserCacheExpirationDuration( 
   string username,
   int days,
   string extraData
)
C++/CLI 
[OperationContractAttribute()]
void SetUserCacheExpirationDuration( 
   String^ username,
   int days,
   String^ extraData
) 

Parameters

username
A System.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: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also