/// <summary> /// Initializes a new instance of the <see cref="RegisteredApplicationServer" /> class. /// </summary> /// <param name="applicationServer">Specifies the child subtree used to store additional application-level Objects. Different environments use the subtree to store application-level information. For example for SQL Server, this subtree stores the SQL Server instances running on a VM..</param> /// <param name="registeredProtectionSource">Specifies the Protection Source like a VM or Physical Server that registered the Application Server..</param> public RegisteredApplicationServer(ProtectionSourceNode applicationServer = default(ProtectionSourceNode), ProtectionSource registeredProtectionSource = default(ProtectionSource)) { this.ApplicationServer = applicationServer; this.RegisteredProtectionSource = registeredProtectionSource; this.ApplicationServer = applicationServer; this.RegisteredProtectionSource = registeredProtectionSource; }
/// <summary> /// Initializes a new instance of the <see cref="SqlAagHostAndDatabases" /> class. /// </summary> /// <param name="aagDatabases">Specifies a list of AAGs and database members in each AAG..</param> /// <param name="applicationNode">applicationNode.</param> /// <param name="databases">Specifies all database entities found on the server. Database may or may not be in an AAG..</param> /// <param name="errorMessage">Specifies an error message when the host is not registered as an SQL host..</param> /// <param name="unknownHostName">Specifies the name of the host that is not registered as an SQL server on Cohesity Cluser..</param> public SqlAagHostAndDatabases(List <AagAndDatabases> aagDatabases = default(List <AagAndDatabases>), ProtectionSourceNode applicationNode = default(ProtectionSourceNode), List <ProtectionSource> databases = default(List <ProtectionSource>), string errorMessage = default(string), string unknownHostName = default(string)) { this.AagDatabases = aagDatabases; this.Databases = databases; this.ErrorMessage = errorMessage; this.UnknownHostName = unknownHostName; this.AagDatabases = aagDatabases; this.ApplicationNode = applicationNode; this.Databases = databases; this.ErrorMessage = errorMessage; this.UnknownHostName = unknownHostName; }