次の方法で共有


SPWebApplication.UserPhotoExpiration property

Gets or sets the expiration of the picture in number of days.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UserPhotoExpiration As Double
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Double

value = instance.UserPhotoExpiration

instance.UserPhotoExpiration = value
public double UserPhotoExpiration { get; set; }

Property value

Type: System.Double
The number of days the picture will expire.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace