Share via


SPWebApplication.UserPhotoErrorExpiration property

Gets or sets the expiration of the error window for pictures in number of hours.

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

Syntax

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

value = instance.UserPhotoErrorExpiration

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

Property value

Type: System.Double
The number of hours the error window for pictures will expire.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace