Ejemplo n.º 1
0
 /// <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.  &#39;kCreate&#39; specifies the create action for a restore. &#39;kUpdate&#39; specifies the user action to update an ongoing restore. &#39;kFinalize&#39; 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;
 }
Ejemplo n.º 2
0
 /// <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&#39;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;
 }
Ejemplo n.º 3
0
 /// <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.  &#39;kCreate&#39; specifies the create action for a restore. &#39;kUpdate&#39; specifies the user action to update an ongoing restore. &#39;kFinalize&#39; 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;
 }