共用方式為


SPManagedAccount.AutomaticChange Property

Gets or sets whether to enable Microsoft SharePoint Foundation to automatically generate and update a password.

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

Syntax

'Declaration
Public Property AutomaticChange As Boolean
    Get
    Set
'Usage
Dim instance As SPManagedAccount
Dim value As Boolean

value = instance.AutomaticChange

instance.AutomaticChange = value
public bool AutomaticChange { get; set; }

Property Value

Type: System.Boolean
true to enable SharePoint Foundation to automatically generate and update a password; otherwise false.

See Also

Reference

SPManagedAccount Class

SPManagedAccount Members

Microsoft.SharePoint.Administration Namespace