| FileBasedTranslationMemorySetMaintenancePassword Method |
Sets the maintenance password.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
Syntaxpublic void SetMaintenancePassword(
string password
)
Public Sub SetMaintenancePassword (
password As String
)
public:
void SetMaintenancePassword(
String^ password
)
member SetMaintenancePassword :
password : string -> unit
Parameters
- password
- Type: SystemString
The password; or null to remove the password restriction.
Note that setting this password to null also sets all the read-write and read-only passwords to null (if they are currently set).
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | Thrown when trying to set a maintenance password without having set an administrator password. |
RemarksThis method just updates the password stored in the TM. It does not unlock the translation memory. Use
Unlock(String) to do this.
See Also
Comments