共用方式為


SPManagedAccount.CanChangePassword Property

Get a Boolean value that specifies whether Microsoft SharePoint Foundation is allowed change the password.

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

Syntax

'Declaration
Public ReadOnly Property CanChangePassword As Boolean
    Get
'Usage
Dim instance As SPManagedAccount
Dim value As Boolean

value = instance.CanChangePassword
public bool CanChangePassword { get; }

Property Value

Type: System.Boolean
true if SharePoint Foundation is allowed to change the password; otherwise false.

See Also

Reference

SPManagedAccount Class

SPManagedAccount Members

Microsoft.SharePoint.Administration Namespace