/// <summary> /// Initializes a new instance of the <see cref="UpdateRestoreTaskParams" /> class. /// </summary> /// <param name="adOptions">adOptions.</param> /// <param name="restoreTaskId">Specifies the ID of the existing Restore Task to update..</param> /// <param name="sqlOptions">Specifies the sql options to update the Restore Task with. Specifies the action type of multi stage SQL restore. 'kCreate' specifies the create action for a restore. 'kUpdate' specifies the user action to update an ongoing restore. 'kFinalize' specifies the user action to finalize a restore..</param> public UpdateRestoreTaskParams(AdRestoreOptions adOptions = default(AdRestoreOptions), long?restoreTaskId = default(long?), SqlOptionsEnum?sqlOptions = default(SqlOptionsEnum?)) { this.RestoreTaskId = restoreTaskId; this.SqlOptions = sqlOptions; this.AdOptions = adOptions; this.RestoreTaskId = restoreTaskId; this.SqlOptions = sqlOptions; }
/// <summary> /// Initializes a new instance of the <see cref="AdRestoreParameters" /> class. /// </summary> /// <param name="adOptions">adOptions.</param> /// <param name="credentials">credentials.</param> /// <param name="mountAndRestore">Specifies the option to mount the AD snapshot database and restore the AD objects in a single restore task. AdOptions must be set if this is set to true..</param> /// <param name="port">Specifies the port on which the AD domain controller's NTDS database will be mounted..</param> public AdRestoreParameters(AdRestoreOptions adOptions = default(AdRestoreOptions), Credentials credentials = default(Credentials), bool?mountAndRestore = default(bool?), int?port = default(int?)) { this.MountAndRestore = mountAndRestore; this.Port = port; this.AdOptions = adOptions; this.Credentials = credentials; this.MountAndRestore = mountAndRestore; this.Port = port; }
/// <summary> /// Initializes a new instance of the <see cref="UpdateRestoreTaskParams" /> class. /// </summary> /// <param name="adOptions">adOptions.</param> /// <param name="enableAutoSync">Enables Auto Sync feature for SQL Multi-stage Restore task..</param> /// <param name="restoreTaskId">Specifies the ID of the existing Restore Task to update..</param> /// <param name="sqlOptions">Specifies the sql options to update the Restore Task with. Specifies the action type of multi stage SQL restore. 'kCreate' specifies the create action for a restore. 'kUpdate' specifies the user action to update an ongoing restore. 'kFinalize' specifies the user action to finalize a restore..</param> public UpdateRestoreTaskParams(AdRestoreOptions adOptions = default(AdRestoreOptions), bool?enableAutoSync = default(bool?), long?restoreTaskId = default(long?), SqlOptionsEnum?sqlOptions = default(SqlOptionsEnum?)) { this.EnableAutoSync = enableAutoSync; this.RestoreTaskId = restoreTaskId; this.SqlOptions = sqlOptions; this.AdOptions = adOptions; this.EnableAutoSync = enableAutoSync; this.RestoreTaskId = restoreTaskId; this.SqlOptions = sqlOptions; }