共用方式為


SPSite.ExpirationDate property

指定要在其後升級評估網站集合會自動被刪除的日期。

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

Syntax

'宣告
Public Property ExpirationDate As DateTime
    Get
    Set
'用途
Dim instance As SPSite
Dim value As DateTime

value = instance.ExpirationDate

instance.ExpirationDate = value
public DateTime ExpirationDate { get; set; }

Property value

Type: System.DateTime

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace