共用方式為


SPManagedAccount.DaysBeforeExpiryToChange Property

Gets or sets the number of days to change a password before a password expiration date.

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

Syntax

'Declaration
Public Property DaysBeforeExpiryToChange As Integer
    Get
    Set
'Usage
Dim instance As SPManagedAccount
Dim value As Integer

value = instance.DaysBeforeExpiryToChange

instance.DaysBeforeExpiryToChange = value
public int DaysBeforeExpiryToChange { get; set; }

Property Value

Type: System.Int32
An Int32 value of the number of days to change a password before a password expiration date.

See Also

Reference

SPManagedAccount Class

SPManagedAccount Members

Microsoft.SharePoint.Administration Namespace