Service.ChangePassword(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the password for the system account under which the SQL Server service is running.
public:
void ChangePassword(System::String ^ oldPassword, System::String ^ newPassword);
public void ChangePassword (string oldPassword, string newPassword);
member this.ChangePassword : string * string -> unit
Public Sub ChangePassword (oldPassword As String, newPassword As String)
Parameters
Examples
Managing Services and Network Settings by Using WMI Provider