Sets the value for a property (usually a password) in protected storage.
set-protected-property <property>@<component>:<instance> [ <prompt> ]
| Option | Description | Required | 
|---|---|---|
| property | The property that you are protecting | Yes | 
| component | The component to which the property belongs | Yes | 
| instance | The instance of the property | Yes | 
| prompt | The prompt to enter the password displays after you enter the set-protected-property command | 
This example clears the password history for the user guest that belongs to the test domain:
set-protected-property password@com.sybase.djc.sql.DataSource:default "SQL Password"
When you see this prompt, supply the password used to protect the property:
SQL Password: