共用方式為


SPWebApplication.UserPhotoExpiration property

取得或設定圖片的到期日的天數。

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

Syntax

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

value = instance.UserPhotoExpiration

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

Property value

Type: System.Double
圖片會到期的天數。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace