- 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.
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.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family