共用方式為


SPManagedAccount.PasswordExpiration Property

Gets the date when the password will expire.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property PasswordExpiration As DateTime
    Get
'Usage
Dim instance As SPManagedAccount
Dim value As DateTime

value = instance.PasswordExpiration
public DateTime PasswordExpiration { get; }

Property Value

Type: System.DateTime
A DateTime object that contains the date the password is to expire.

See Also

Reference

SPManagedAccount Class

SPManagedAccount Members

Microsoft.SharePoint.Administration Namespace