Sets the password for the account used by the service manager when creating the security context for this service.
HRESULT IADsServiceOperations::SetPassword(
BSTR bstrNewPassword //The new password.
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
The property IADsService::get_ServiceAccountName identifies the account for which this password is to be set.
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.
Header: Declared in iads.h.
IADsService, ADSI Service Object