This function deletes a store that has been created with EncryptedStorage.
This allows for the creation of a new store with the same name and a different password.
<static> deleteStore( successCallback, errorCallback )
Name | Type | Description |
successCallback | sap.EncryptedStorage~successCallback | If successful, the successCallback is invoked with no parameters. |
errorCallback | sap.EncryptedStorage~errorCallback | If there is an error, the errorCallback is invoked with an ErrorInfo object as the parameter. |
var successCallback = function() { alert("Store deleted!"); } var errorCallback = function(error) { alert("An error occurred: " + JSON.stringify(); } ks = new sap.EncryptedStorage("storename", "password"); ks.deleteStore(successCallback, errorCallback);