short ChangePassword(BSTR NewPassword)
Description
This function changes the password for the user ID previously specified on the InitializeServer() call.
Parameters
Name | Description |
---|---|
NewPassword | The new password. |
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.