共用方式為


SPWebApplication.UserPhotoErrorExpiration property

取得或設定圖片的 [錯誤] 視窗的到期時間內的小時數。

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

Syntax

'宣告
Public Property UserPhotoErrorExpiration As Double
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Double

value = instance.UserPhotoErrorExpiration

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

Property value

Type: System.Double
圖片的 [錯誤] 視窗即將到期的時數。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace