SPManagedAccount.SetPassword method
Sets the password value.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function SetPassword ( _
value As SecureString _
) As Boolean
'Usage
Dim instance As SPManagedAccount
Dim value As SecureString
Dim returnValue As Boolean
returnValue = instance.SetPassword(value)
public bool SetPassword(
SecureString value
)
Parameters
value
Type: System.Security.SecureStringA secure string that contains the password value.
Return value
Type: System.Boolean
true if the password has been successfully changed; otherwise false.